medium72%
Scrolling happens when user returns to a page with hash using browser back button
When using the browser back button to return to a page with a URL hash, Next.js erroneously scrolls to the anchor element, disregarding the preserved scroll position. This is caused by the Container component's componentDidUpdate triggering scrollToHash even on popstate navigations.
