-
-
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 flickering on closeing #4451
Comments
this is my modal code
|
1 similar comment
this is my modal code
|
Hey @DennyWanye did you find a solution for this? |
Also experiencing this issue, would love a solution. |
Also with this problem, any solution? |
No solution that I've seen. I was seeing this on 5.12.5, but 5.13.1 is out now. I didn't see any commits that would suggest this is fixed, but you never know. I'll be trying an upgrade eventually, but if someone else can confirm that this either is or isn't happening on 5.13.1, it might help. |
Agreed, in the meantime what I did was to add a conditional in the modal for when it's visible and this way the flickering stopped, but the fade animation is gone. <Portal>
{visible ? (
<Modal
visible={visible}
... |
I found a solution; you can check out the respective links. Go to your react native paper modal component in your package.json and within the hide modal callback, replace if (visibleRef.current) {
showModal();
} else {
setRendered(false);
} With this setRendered(false); |
Ask your Question
when I closing Modal, the Modal is flickering once. and then it will close.
modalIssue.mov
The text was updated successfully, but these errors were encountered: