twobin/react-lazyload

Option to force loading above-the-fold components

dxeastman-epam opened this issue · 0 comments

It would be great to have a way to disable lazy loading ABOVE the fold. Issue #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.