Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen freezes when there is a view that exceeds the height of the screen #157

Open
summer88123 opened this issue Feb 2, 2023 · 2 comments

Comments

@summer88123
Copy link

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, state fromRect is not init.
截屏2023-02-02 17 35 25

Device/Setup Info:

  • Device: One Plus 8T
  • OS: Android 11
  • react-native version: 0.63
  • react-native-popover-view version: 5.0.1

Screenshots
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

@seba9999
Copy link

seba9999 commented Nov 16, 2023

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 ...

@AkshayItaliya01
Copy link

Any one found solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants