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

position of items after pull or load #806

Open
francisnnumbi opened this issue Feb 14, 2024 · 0 comments
Open

position of items after pull or load #806

francisnnumbi opened this issue Feb 14, 2024 · 0 comments

Comments

@francisnnumbi
Copy link

francisnnumbi commented Feb 14, 2024

Hey,

I have two scenario for a list loaded from paginated request:

  1. When I pull down the list view, I want to view the previous page items
  2. When I pull up the list view, I want to view the next page items.

All is well so far.

  • But when I pull down, and the page refreshes, what is displayed is the first item in the list. This should not be the case as coming from the bottom, the list view for that new page should display the last item at the bottom and then I can move up until I reach the first item and pull down again !
  • The same opposite behavior when I pull up, and the page refreshes, what is displayed is the last item in the list. This should not be the case as coming from the top, the list view for that new page should display the first item at the top and then I can move down until I reach the last item and pull up again !

In short :

  • Pull down, view last item of the previous page,
  • Pull up, view the first item of the next page.

QUESTION
How do I achieve that ?

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