How do i update search params whilst keeping scroll position? #4363
Answered
by
schiller-manuel
balazshevesi
asked this question in
Q&A
-
Hello! I have started working on a new project. My impression was that tanstack router would allow me to store my application state in the search params, but everytime i update the search params, the scroll position resets. This is pretty annoying, and leads to poor UX, and i have not found a good fix for it. It's kinda disappointing, especially considering the docs kinda hyped me up for it "Search Params, the "OG" State Manager". Any insight would be appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
schiller-manuel
Jun 10, 2025
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
balazshevesi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
resetScroll: false
?