Is there a way to disable the behavior where some modern browsers (Chrome and Safari) remember your scroll position on a page refresh?
See Question&Answers more detail:osIs there a way to disable the behavior where some modern browsers (Chrome and Safari) remember your scroll position on a page refresh?
See Question&Answers more detail:osFor browsers that support history.scrollRestoration, the auto scroll behavior can be turned off:
if ('scrollRestoration' in history) {
history.scrollRestoration = 'manual';
}
source: https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration