Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
scrollTo issues on page refresh. #534
when i scroll down my spa to bottom and then hit refresh button, the
@tobscure's right — this the way browsers are expected to behave. It's especially useful when you're browsing from site to site then hit back and end up where you left.
I vaguely remember wanting to circumvent this behaviour years ago and I found it really difficult to find the right event handler for when to execute
This is one of the many experiences I had working in a design agency that led me to conclude that unless you have really good reasons, you should probably just let your site behave the way the user expects. :)