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

How to retain scroll position after forcing a controll refresh? #326

Open
Adam-Langley opened this issue Apr 19, 2024 · 1 comment
Open
Labels
question Support request

Comments

@Adam-Langley
Copy link

Adam-Langley commented Apr 19, 2024

As per description, when I call refresh on the PagingController, the scroll position is reset to 0.
I would like to restore the users prior scroll position.

How can this be achieved?

Note: I'm using the PagedSliverList

Thanks,

@caiombueno caiombueno added the question Support request label May 7, 2024
@KrisBraun
Copy link

If you want a bi-directional list, this technique with forward and reverse lists works well.

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

No branches or pull requests

3 participants