You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pagination in infinite scroll, you want to sync it with the urlParams and use that as the source of truth. However I can't use redwoodjs navigate for this because it internally resets the scroll position on every navigiate. There should be an option to disable it.
Detailed proposal
Add an option to navigate() to not have the scroll reset.
Are you interested in working on this?
I'm interested in working on this
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion @MartinDawson 🙂
Unfortunately this will get a pretty low priority right now unless you want to try to implement it yourself. Have you had a look at the navigate() function to see if you could add the functionality you need?
Tobbe
added
the
p3
Low priority. The Core team will not prioritize this for now
label
May 31, 2024
Summary
See this issue for more detail: petyosi/react-virtuoso#1014 (comment)
This commit did this: https://github.com/redwoodjs/redwood/pull/1817/files#diff-db921824ed181576fb3274c4f842c348ce40bdb27d103d99dfd7357e97e345c9R97
Motivation
When using pagination in infinite scroll, you want to sync it with the urlParams and use that as the source of truth. However I can't use redwoodjs navigate for this because it internally resets the scroll position on every navigiate. There should be an option to disable it.
Detailed proposal
Add an option to
navigate()
to not have the scroll reset.Are you interested in working on this?
The text was updated successfully, but these errors were encountered: