twobin / twobin/react-lazyload
Option to force loading above-the-fold components
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 485
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.