Animate backward/forward visits #920
-
Describe your problem 🧐Page transition is not happening when I’m navigating using the prev/next browser arrows, only happens if i click on a link this is how my setup is built. `
What is your question? 🙋♀️How could I prevent that behaviour and make same transition when I click native buttons (prev,next) from the browser ? URL to minimal reproduction 🔗https://sei2024dev.wpenginepowered.com/ Checked all these? 📚
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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.