forked from guillaumervls/react-infinite-scroll
-
Notifications
You must be signed in to change notification settings - Fork 512
Open
Labels
Description
Describe the bug
I'm running infinite scroller within a div. When I resize the window to make it bigger, I can see white space at the end and the loadMore function is never called.
To Reproduce
https://codesandbox.io/s/ojo9vlvp35
Start the page with a very low window height, then when it has finished loading increase the height of the window and see that white space is showing and more items are not loaded.
Expected behavior
Items to be loaded when the parentNode has changed size.
Device (please complete the following information):
ubuntu 18.04, chrome 67