-
|
I’m trying to show a toast using https://nickdebaise.github.io/packages/react-native-toast/, but I can’t get it to appear on top of the modal. I’m using this modal package together with React Navigation and expo-router. While the modal is open, the toast renders behind it. I tried the recommended approach from the toast library of rendering the toast via a nested component inside the modal. That does make the toast visible, but it’s limited to the modal’s visible area. So if the modal is small, the toast can only be positioned within that height — it can’t float above or outside the modal, which isn’t ideal for my use case. At this point I’m not sure if:
Mainly looking for confirmation on whether this is supported, or if the only real options are to change how/where the toast is rendered or to use a different library altogether. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Check this guide |
Beta Was this translation helpful? Give feedback.
Unfortunately no other way. Just render your toast at the bottom. This a limitation. Another option is to request for passthrough support on FullWindowOverlay or RN Modal which I doubt will land :/