You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I've noticed the portal element now may flicker when its exited via onDismiss, under the new arch. its fine when exited via onClose. its fine with the old arch.
Not only it flickers on onDismiss, but even worse: any TextInput will flicker when changing text if it is within portal. I reproduced it here, shows both issues: https://github.com/codan84/text-input-flicker
+ it does it on iOS too, so not only Android issue this
Current behaviour
Hi! I've noticed the portal element now may flicker when its exited via onDismiss, under the new arch. its fine when exited via onClose. its fine with the old arch.
Expected behaviour
portaled component does not flicker
How to reproduce?
https://snack.expo.dev/@react-native-paper/more-examples---comprehensive-portal-example with expo 52
Preview
N/A
What have you tried so far?
I have deduced its visibleRef.current is still true when at the end of onDismiss, so its shown again. so I removed it and it seems to work normally now
Your Environment
The text was updated successfully, but these errors were encountered: