-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
rendering global concerns, such as toasts #2709
Comments
Ok, so the solution I tried is creating a SceneWrapper and applying it like so:
But I'm getting Any suggestions? |
Hi @mschipperheyn! It looks like this is a general question about react-navigation: I suggest next time you use Stack Overflow which is better suited for answering these types of questions. I also encourage you to join the Reactiflux community on Discord. There are React Native and React Navigation channels with helpful people who might be able to answer your question. I would also like to mention that there is a collection of helpful links and tutorials for React Navigation here which might be helpful for you. That said, I also suggest you read the ongoing article series about how to do advanced navigation with a Drawer on Medium, I think it will help you. If you believe that you are experiencing a bug or have a feature request, please open a new Issue following the dedicated template or submit a PR. |
Sure, but perhaps I should have phrased this as an issue:
|
@mschipperheyn how did you solve this issue? |
this is a legitimate weak point in react-navigation at the moment, please discuss in react-navigation/rfcs#15 |
There are some global concerns that apply irrespective of Scene, such as toasts and bottom navigation bars. I would like to be able to render these on each scene of a DrawerNavigator, but it cannot overlay the slide out menu.
How would I go about this? There doesn't seem an obvious and I don't want to modify render functions on each Screen. Ideally, I would want to basically wrap the Scene component, but that doesn't seem to be the idea. Any other ways to achieve this?
The text was updated successfully, but these errors were encountered: