You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, updating the state in NextJS scrolls makes the page scroll to the top. That's usually not what you want, and I think it can be easily prevented by using router[method](newUrl, undefined, { scroll: false }) (or making the behavior configurable).
Hi, updating the state in NextJS scrolls makes the page scroll to the top. That's usually not what you want, and I think it can be easily prevented by using
router[method](newUrl, undefined, { scroll: false })
(or making the behavior configurable).More details regarding the Next.js behavior here: vercel/next.js#20606
Thanks a lot for making this package!
The text was updated successfully, but these errors were encountered: