Prevent scroll when updating search params (eg. for infinite scroll page param) #4992
apalumbo
started this conversation in
Show and tell / tips
Replies: 1 comment 1 reply
-
Did you ever find a solution for this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following code is not working on remix , it seems that preventScrollReset is not jet handled (looking at the code the navigator used does not accept the options parameter for push and pop like the one created in RouterProvider in react-router)
This version works i found this work around in another discussion and I thought it would be useful to share
Beta Was this translation helpful? Give feedback.
All reactions