DEV Community

Discussion on: Create awesome Page Transitions in NextJS using Framer motion

Collapse
javusscriptus profile image
Michal Zalobny

How to prevent website browser from "jumping" while changing the route? It happens for example when you switch the subpage while it is already scrolled a little, and new subpage is not scrolled at all

Collapse
shaan_alam profile image
Shaan Alam Author

Try scroll={false} on the tag

Collapse
javusscriptus profile image
Michal Zalobny

Your idea is working, but it still jumps while using native controls (like the browser arrows)