Skip to content

Animate backward/forward visits #920

Answered by hirasso
andresclua asked this question in Help
Discussion options

You must be logged in to vote

Swup is not animating history visits by default, as that brings various issues with it that could degrade the user experience. If you still decide that you need it, you need to set the option animateHistoryBrowsing to true. Please make sure to read the warning on the docs before you decide. To restore the restoration of your scroll positions, you should have a look at @swup/scroll-plugin.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by daun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants