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
shouldResetScrollPosition
ignoreVisit
options = { shouldResetScrollPosition: (url: string, { el, event }: { el?: Element; event?: Event }) => boolean }
How important is this feature to you?
The text was updated successfully, but these errors were encountered:
Just realized this is completely obsolete in swup 4 — we can just set context.scroll.reset to false in the transitionStart hook.
context.scroll.reset
false
transitionStart
Sorry, something went wrong.
No branches or pull requests
shouldResetScrollPosition
passes in a link elementignoreVisit
probably makes sense to emulate hereHow important is this feature to you?
The text was updated successfully, but these errors were encountered: