Open summer88123 opened 1 year ago
Did you find some workaround ?
It seems that even in the official snack the problem is present when pressing the "partially off screen" button !
As soon as the popover is calculated out the screen it freeze the app ...
Any one found solution?
Describe the bug We have a conversation details page. When send a text message beyond the height of the screen. At this point, long press on the text message page freezes
in function
AdaptivePopover. calculateRectFromRef
, at line 232,getRectForRef
return an Rect like this{x:70,y:-17000,width:200,height:15000}
. The calculation is correct, and the view is indeed this high. Finally, function return at line 243, statefromRect
is not init.Device/Setup Info:
react-native
version: 0.63react-native-popover-view
version: 5.0.1Screenshots https://user-images.githubusercontent.com/6141102/216285039-7fd79959-a6ef-478a-8e77-5f3fa08b49e0.mp4
Debug Output AdaptivePopover.js:181 [2023-02-02T09:24:51.507Z] calculateRectFromRef - waiting for ref AdaptivePopover.js:181 [2023-02-02T09:24:51.507Z] calculateRectFromRef - waiting for ref to move