7 ms·
Doesn't this still effectively break the back button or at least the users view of the back button? To the user although there are visual hints, he/she hasn't l
by digitaltoad 13y ago
Doesn't this still effectively break the back button or at least the users view of the back button? To the user although there are visual hints, he/she hasn't left the page. Scrolling down the page however creates multiple history entries.
- iambateman 13y agoIt does. This would be perfect if clicking the nav didn't cause a page reload. I expect the page to go back to an entirely previous page, if I hit the back button in this case. That would not be the case if the sections of content were different from one another. - A super-scrolling page with different sections of content might keep the back button functionality the way it is here. - Homogeneous content like Facebook posts should not incur a back button through the pagination. IMHO. But this is super cool otherwise.
- DangerousPie 13y agoI don't think it does, at least not on Firefox. When you scroll down the URL just updates without a history entry being added.
- timmclean 13y agoNope, this seems to use history.replaceState, not pushState: https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/M...
- digitaltoad 13y agoI was mistaken. I must have clicked through to a page.