-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
If your viewport is large enough to only display one of ten images then scrolling half way will load half of them. However, if you then resize the viewport so that all can be viewed, the remaining half will never load. This is because the plugin assumes the scroll extent never changes. Of course, when the window is resized the scroll extent does change and in fact it can never reach the same position as when the window was smaller so the filter action never triggers for the remaining images.
The solution should be to consider window resizing and trigger the filter action as well as reset the largestPosition property if the scroll extent has decreased (because the window size has increased).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels