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

There is no way to preserve the page state in the Indexed Page and PageStackNavigator. #307

Open
CodeFoxLk opened this issue Sep 17, 2022 · 1 comment

Comments

@CodeFoxLk
Copy link

how to preserve page states when using Indexed Page and PageStackNavigator. like the scrolled position of a list view. it is possible with the Tabview. but not with the Indexed Page and PageStackNavigator

@darkstarx
Copy link

Easy. Just use AutomaticKeepAliveClientMixin for your page. Place nested pages into the PageView with physics: const NeverScrollableScrollPhysics().

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

2 participants