Toast overlay is hidden behind modal screens when using createNativeStackNavigator #2985
Replies: 1 comment
-
Hey! We won't fix that here! Our modal is truly a modal component, that is mounted under separate view hierarchy, above all other content. You either need some "truly toasty" toast component, or report this on the repo of the toast component you're using. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When a toast is shown and a new screen is pushed with presentation: 'modal' (via @react-navigation/native-stack), the modal covers the toast. The toast should stay on top of all UI layers, just as it does with a regular push transition.
Reproduction Steps
Expected Behavior
The toast remains visible above any modal screen.
Actual Behavior
The toast is rendered underneath the modal, so it cannot be seen.
Minimal Code Sample
Platform
IOS
Beta Was this translation helpful? Give feedback.
All reactions