We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A lot of times - the scrolling element in the document is not the window, making scrollBehavior not work (and the saved position too probably).
Should allow setting the scrolling element in the application (not sure if as a global, or per scrollBehavior function or both).
When initiating Vue router - allow setting scrollingElement property that will replace window.
When returning the scroll object should allow to set scrollingElement that will override the window (or the global config).
savedPosition should always be related to the global config (or window).
The text was updated successfully, but these errors were encountered:
Duplicate of #1187
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What problem does this feature solve?
A lot of times - the scrolling element in the document is not the window, making scrollBehavior not work (and the saved position too probably).
Should allow setting the scrolling element in the application (not sure if as a global, or per scrollBehavior function or both).
What does the proposed API look like?
Global Option:
When initiating Vue router - allow setting scrollingElement property that will replace window.
Per Scroll Behavior Option:
When returning the scroll object should allow to set scrollingElement that will override the window (or the global config).
savedPosition should always be related to the global config (or window).
The text was updated successfully, but these errors were encountered: