1) User opens long or infinite scroll page with items that are not fixed height.
2) User scrolls down a ways, thereby loading all of the items that are viewed.
3) User clicks on an item and goes to a detail page for that item.
4) User clicks the back button to return to the long scroll page.
5) User expects to land at the same scroll position as when they left the page.
Actual result is: scroll position is different, sometimes VERY different because lazy loaded list items above the fold are not loaded.
It would be great to have a way to disable lazy loading ABOVE the fold. Issue https://github.com/twobin/react-lazyload/issues/349 is asking for same.
The scenario in which this would be useful:
1) User opens long or infinite scroll page with items that are not fixed height. 2) User scrolls down a ways, thereby loading all of the items that are viewed. 3) User clicks on an item and goes to a detail page for that item. 4) User clicks the back button to return to the long scroll page. 5) User expects to land at the same scroll position as when they left the page.
Actual result is: scroll position is different, sometimes VERY different because lazy loaded list items above the fold are not loaded.
Thanks for considering.