-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Nested Navigation leads to crash when using Guards #486
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Thanks for the good work! I found an issue with Guards and nested navigation. If you have any questions or need more info just give me a heads up. :)
Describe the bug
If using nested navigation like in the following example application, the app crashes, because the subtree containing the guard is removed from the tree (the context is disfunct) and therefore cannot resolve inherited widgets from the tree any more. This happens most probably because the context is cached within the beamer_delegate.dart line 716.
Beamer version:
master
To Reproduce
Execute the following example (wait for 30 seconds) using the following dependencies:
Application
Expected behavior
The new context, that is not disfunct, is used and the app does not crash.
OS
The text was updated successfully, but these errors were encountered: