-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Modal will appear once more when its mask is clicked. #4140
Comments
Is there any solution for this? |
Modify the Modal source code, please refer to 'My suggestion' for details. |
Hey @CXiann, I was trying to reproduce the issue, however without the success. Could you please attach the small github repo presenting the problem? I was trying on: react-native-paper: 5.10.4 and 5.11.1 |
im changed newArchEnabled to false on android/gradle.properties. and it's worked on me. |
I have the same issue. The Modal "blinks" only when you're clicking outside the modal. But when I put a button inside a Modal and press it for close – it closes without a blink. It is not reproducing on iOS. react-native-paper: 5.10.3 |
I tried dismissable={false} on Dialog component and its work like this |
Experiencing the same issue on iOS when testing out with the new arch. Possibly related to new arch support.
Using
|
+1 |
The same problem with Menu, but Menu blinking twice when it's appears. Problem with Modal and Menu started when Expo SDK upgrade to 52. |
same issue with expo 52 & iOS |
Any fix? |
Fix patch for Modal is above, no fix for Menu as I understand. |
same issue for IOS when updated to expo |
same bug here on Android |
Also, any |
same issue for IOS on expo 52.0.7 |
@codan84 To fix it, you can use defaultValue instead of value prop in TextInput |
Current behaviour
Modal appears once more before close when its mask is clicked.
Expected behaviour
Modal disappears directly when its mask is clicked.
How to reproduce?
Preview
modal-bug.mp4
My suggestion
The current behavior is expected by the test case, which prevents my changes from passing all tests.
Your Environment
The text was updated successfully, but these errors were encountered: