Opt out of scrolling on hash change #1155
elliottgrieco-toast
started this conversation in
Ideas
Replies: 2 comments
-
Hey, I dropped a comment on your PR. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi all, we are looking for some more concrete use-cases where this feature/API would solve a problem for developers. Are there cases for folks where the default assumption to scroll in all history hash changes is problematic for people's real world applications? If so, how? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to opt out of scrolling in hash change. I am working with a code base which has a feature which controls the hash history external based upon the scrolling position. Having an effect which responds to the history and scrolls to the dom element is a sensible default, but would like to opt out of possible!
PR already created - #1105 , looking for discussion if this feature would be valuable to others. Right now I'm handling this in my project by rewriting the entire RouterProvider, which is not ideal.
Beta Was this translation helpful? Give feedback.
All reactions