avoid auto scrolling when intercepting routes
anybody knows a solution for this? scroll={false} won't work for everybody
https://github.com/vercel/next.js/discussions/48445
GitHub
Disable scrolling to the top of the page when Intercepting Routes -...
When utilizing the Intercepting Routes feature to create modals, the page scrolls to the top, which is bad to usability. For instance, consider a masonry grid with photos, similar to Instagram'...
4 Replies
GitHub
Disable scrolling to the top of the page when Intercepting Routes -...
When utilizing the Intercepting Routes feature to create modals, the page scrolls to the top, which is bad to usability. For instance, consider a masonry grid with photos, similar to Instagram'...
Try placing the
After the
Inside your page's layout
GitHub
Disable scrolling to the top of the page when Intercepting Routes -...
When utilizing the Intercepting Routes feature to create modals, the page scrolls to the top, which is bad to usability. For instance, consider a masonry grid with photos, similar to Instagram'...
Someone made a custom solution for this problem
I don't see what else can be done