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

Opening and closing menu freezes screen #35

Closed
intergalacticspacehighway opened this issue Feb 7, 2022 · 4 comments
Closed

Opening and closing menu freezes screen #35

intergalacticspacehighway opened this issue Feb 7, 2022 · 4 comments

Comments

@intergalacticspacehighway
Copy link

intergalacticspacehighway commented Feb 7, 2022

Hey dominic. We're facing a weird issue that happens only on a release build. Even more weird is that it's not reproducible on building with release scheme on XCode.

Steps:

  • Open menu
  • Close it by swiping anywhere in screen (don't tap or select menu item)
  • Any Pressable element on screen don't respond until we open or close the menu again

I can't share a reproducible demo, because I am not able to reproduce it either in my local environment, even with release scheme 😞. I know it's hard to track the issue, let me know if you've seen something like this previously. This issue looks similar, but we're using a simple menu and we don't have any Pressable element as children.

Also, observed this issue which looks a bit similar. (happens only on production build)

  • Open menu
  • Put the app in background
  • Come back to app, can't tap or scroll anything

Thanks. I'll update the issue If I find something :)

@dominicstop
Copy link
Owner

oops, let me take a look — i only use TouchableOpacity (out of habit) so i never came across this (going to write a small example to test this out)

i'll post a patch ASAP once i find the bug

@intergalacticspacehighway
Copy link
Author

intergalacticspacehighway commented Feb 24, 2022

Thanks, Dominic. The seems to be unrelated to this library. I still haven't been able to repro the issue locally even with the release build but the same issue happens with react-native-menu's menu 😞. I will update when I find something. Closing this.

@dominicstop
Copy link
Owner

i'm going to try and release a quick patch — there's some leftover experimental code/wip features in the release version, i'll commenting them out, maybe it'll fix it haha

@intergalacticspacehighway
Copy link
Author

No worries @dominicstop I just figured it out. The issue was with the LogRocket library being used in production. Your library is awesome. Thank you again! :)

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

2 participants