-
Notifications
You must be signed in to change notification settings - Fork 504
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
1st modal flickers after closing 2nd children modal #265
Comments
Seems that someone else had this issue, by setting useNativeDriver to false in the index.js on animateOpen and animateClose seems to solve the issue but i'm modifying the file that is inside the node_modules which im gitignoring. So here are the questions:
Thanks |
2nd attempt. Tried to apply the "showContent" solution that @mmazzarolo suggested on their git Now, the only way i could solve it was: But I read that disabling useNativeDriver can be dangerous performance-wise. So i think im stuck? |
same problem here |
@carlmagumpara still no responses since i created this :/ #FeelsBadMan |
No response yet!? Anyone knows how to solve this for good? |
I've encountered the same problem. Looks like it only happens when using coverScreen={true}. Checking the code, react-native Modal is being used to wrap the content. So it might be related to this issue |
try coverScreen={false} on every Modal |
For me a similar issue was happening only on Android (or at least only noticeable on Android) when the keyboard was dismissed. |
I've made my own solution for modalbox using this fix proposal for react-native-modal, it'll work with the idea is the same but without the you can check it here: https://github.com/rifansyah/react-native-modalbox I've been using my forked version and don't get any glitches/flickers since then. |
I got on one of my app screens, a button, that opens a modal, this modal has also a button, that shows a fullscreen modal. Whenever I close the latter, the first modal that is behind, flickers super fast that you can see for a millisecond the screen beneath and then it renders back again.
Is there any way to solve this issue? Haven't tested on Android, but i'm seeing this on iPhone X simulator iOS 12.1 and also on my iPhone 6S (device).
This is the way i'm setting up the 2nd modal which is full screen:
RN info:
The text was updated successfully, but these errors were encountered: