Sign up, and you'll be able to customize your font size and more! Sign up
Apr 15, 2018
11:01:30pm
noodle Walk-on
Here's a guess:
I haven't noticed it on here, but the browser only automatically scrolls you down when going back once, after the page has loaded. So if you're loading content asynchronously, and the page ready event fires before your async content has loaded and the page is not long enough to scroll all the way to the previous scroll position, it will only scroll to the bottom of the page as it exists when that event fires.

So you could server render the whole thing to circumvent the problem, or store the scroll position in sessionStorage and scroll the page manually after all your content loads.
noodle
New username
BigCougarLover
Bio page
noodle
Joined
Sep 5, 2014
Last login
Oct 3, 2020
Total posts
0 (0 FO)