pklauzinski / jscroll

An infinite scrolling plugin for jQuery.
http://jscroll.com/
1.11k stars 561 forks source link

How to get to the previously scrolled/loaded position via the back button #140

Open mikep165 opened 7 years ago

mikep165 commented 7 years ago

I have a page that shows 12 items, and then loads 12 more every time the "load more" button is clicked. If I click the "load more" button (so now I have 24 items visible) and then click through to an item, when I click the browser back button I come back to the original page with only the initial 12 items visible. How can I set it up to show all of the items that had previously been loaded? Thanks in advance!

ericnstrm commented 6 years ago

Any luck on this one? Trying to find a solution for this aswell.

rizal76 commented 5 years ago

I had same problem, solve with https://github.com/artsy/scroll-frame