SteffeyDev / react-native-popover-view

A well-tested, adaptable, lightweight <Popover> component for react-native
MIT License
613 stars 92 forks source link

Tapping on a Popover freezes the app and becomes unusable on iOS with React Native New Architecture #184

Open webmaster-qiagroup opened 3 days ago

webmaster-qiagroup commented 3 days ago

Describe the bug Using this basic example makes the iOS app freeze upon tapping on the popover. This happens on Expo SDK 52 which has React Native new Architecture enabled. Disabling the New Architecture(Bridgeless mode) makes it work again.

<Popover
  from={(
    <TouchableOpacity>
      <Text>Press here to open popover!</Text>
    </TouchableOpacity>
  )}>
  <Text>This is the contents of the popover</Text>
</Popover>

Device/Setup Info:

Debug Output (NOBRIDGE) LOG [2024-11-19T01:34:57.727Z] calculateRectFromRef - waiting for ref (NOBRIDGE) LOG [2024-11-19T01:34:57.729Z] calculateRectFromRef - waiting for ref to move from: {"x":0,"y":0,"width":0,"height":0}