-
Notifications
You must be signed in to change notification settings - Fork 248
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
The whole screen locks after selecting a MenuOption on RN 0.66 #237
Comments
+1 Same issue. |
I did solve this issue somehow, but I can't bring myself to remember how. I would need to go over my commits. |
@noway hey I am trying to solve a similar issue now. Do you think you could take a look at your past commits and see if you can offer any extra hints, tips, or thoughts? It would be greatly appreciated. 👍 |
FYI to anyone else. We found a temporary workaround for our scenario by setting the NATIVE_DRIVER to false inside react-native-popup-menu via a patch-package It appears that the BackDrop close promise never completes, Thus causing a The only thing in the close function is an AnimatedTiming. And something about the nativedriver is causing it to have issues for us in some instances. Since it's not a big deal to not use the nativedriver for this, that's what we are going to do for now until more thorough investigation takes place. |
I have a suspicion that react-navigation might have been involved also. But not fully sure. Missing event rings a bell - that could have been an issue. One thing to test is whether it happens on debug or production build. I remember that being different somehow. |
Same for me, but on android. In case if your app depending on react-native-gesture-handler, try to wrap your app entry point as suggested there https://docs.swmansion.com/react-native-gesture-handler/docs/guides/migrating-off-rnghenabledroot#update-your-js-code |
Hello, I'm experiencing a bug where the whole screen gets locked after I select a MenuOption on iOS on RN 0.66.
I've been debugging what can fix it, and so far re-mounting the following
<View
in<MenuProvider
(https://github.com/instea/react-native-popup-menu/blob/master/src/MenuProvider.js#L216) helps:This un-locks the screen when I click on backdrop. But still this doesn't fix the MenuOption selection, and unfortunately this patch also remounts the whole app and causes all sorts of issues because of that.
Does anyone happen to run into the same issue and know a fix?
Cheers.
The text was updated successfully, but these errors were encountered: