Skip to content
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

Navigating with nested routes to another tab in AutoTabsScaffold #2097

Open
tyler401go opened this issue Nov 21, 2024 · 0 comments
Open

Navigating with nested routes to another tab in AutoTabsScaffold #2097

tyler401go opened this issue Nov 21, 2024 · 0 comments

Comments

@tyler401go
Copy link

I'm not sure if this is expected behavior (I have dug quite a bit into the documentation but haven't found clarity). Using an AutoTabsScaffold setup, If navigating to a nested page that is on a different tab from the current one it will not push parent routes, even if explicitly given in the .navigate() call.

Here is a minimum reproducible app showcasing the behavior. I would expect that when tapping the button on the FirstTabPage that both the ThirdTabRoute and NestedRoute will get pushed onto the third tab stack, so the AutoLeadingButton would be available. However, it is only available if going through the ThirdTabPage

https://github.com/tyler401go/auto_route_issue

@Milad-Akarie This could very well be me not understanding navigate and how it interacts with children, but any help or insight would be greatly appreciated. Thanks for the great library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant