expo-router stack with modal not showing overlay components "on top" #1341
Replies: 1 comment
-
Solved it by switching from presentation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Maybe I'm doing something wrong, but when I'm using for example a Menu or AlertDialog. I'm not sure how to setup expo-router in a Snack.
When opening the modal route with router.push or the dialog won't show in the view, but when close the modal by swiping there's a flick of a second where I see the AlertDialog backdrop behind the route before it unloads.
I've tried setting zIndex on the dialog element, but nothing works. Looked through expo-router / react-navigation documentation if there's some zIndex handling of views, but can't find anything 😅
Any suggestions what I do wrong, or need to change? Of course a lot of these dialogs are in beta 😄
In app/_layout.js
and in app/modal.js
Beta Was this translation helpful? Give feedback.
All reactions