-
Notifications
You must be signed in to change notification settings - Fork 105
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
Scroll to index stops working for AutomaticKeepAlive widgets #106
Comments
Hi, glad to hear you love it : D |
I had something similar. I had a Sliver, and the Sliver.builder had this setup
Going form 1 to 10 (index) was working just fine The |
@PT10 |
Any update ? |
Hi,
This is indeed a great library and working quite well until we have widgets which we want to keep alive throughout. In our case the inner widgets (of the ListView) are quite heavy. So want to load them only first time and then preserve their state forever for a smooth scrolling experience.
What we have observed is that if the child element inside the ListView uses AutomaticKeepAliveClientMixin with wantKeepAlive set to true, the scroll to index stops working if you go back and forth few times. I think it has something to do with the tagMap you maintain internally. Please let me know if there is any solution to this problem.
Thanks
Prasad
The text was updated successfully, but these errors were encountered: