Reset infinite query and load new target page #4530
Unanswered
PedroJBrito
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm facing a challenge situation and I'd like to ask for your help.
Suppose we have an infinite query to load ToDos for example. We're placed in the first page and we have five pages in total. When we add a new ToDo we'd like to scroll to the new todo that can be either on page five or six if five has already reached the total page size. What I'd like to ask you is, how can I remove the page that is already loaded and at the same time fetch the data for new target page?
Also, if you have a better approach for a scenario like this, please share.
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions