-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Navigation not working in Nested Navigator #913
Comments
OK I think I have this one solved for the time being. Even though I discovered this by trying out Anyway I appear to be unblocked and will report back if I encounter any more funny business. |
@InteractiveLogic how did you manage to do so? I tried all approaches listed in #335 but neither works |
@InteractiveLogic Found this Issue when looking for a solution. Ultimately this solution worked for my similar use case: |
Conceptually, this is roughly the structure I'm using:
After much work thus far, and using the technique in #335 I can navigate from Stack Navigator 1 to the Checklist, contained by the Tab Navigator.
Once at the Checklist, I can navigate to any of the "peer" screens with no issues (and can navigate back as well, by doing the technique of using setParams to wire up an
onBackButtonPress
instance method as an event handler).So the weird thing is that if I navigate to the Checklist screen, and then do the following from that screen:
...no navigation occurs. (sad trombone sound)
If I debug and inspect at the point of the method call, I have a navigation object, and it has a navigate method, but for some reason it's not actually performing the navigation.
Any ideas on what might be going on here?
The text was updated successfully, but these errors were encountered: