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

TabDisposable with nested/parent navigation loses Screen state #390

Open
creativedrewy opened this issue Apr 8, 2024 · 0 comments
Open

Comments

@creativedrewy
Copy link

When navigating from inside a TabNavigator after locating a parent/outer Navigator, the Tabs will always be disposed by TabDisposable, resulting in the screen state being lost for the tabs. This issue occurs even if the outer/parent Navigator has disposeNestedNavigators = false set.

You can utilize the attached patch file to see the bug in action:

bug_reference.patch

This video shows patch in action as well; note the list scroll position is not retained when navigated back from the "green" screen:

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

No branches or pull requests

2 participants