react-infinite-scroller
react-infinite-scroller copied to clipboard
offset less than zero
offset less than zero when component load 10 pages, then i reload less data, for example 1 page. this behavior will tigger loadMore function, this mean load one more page.
TypeError: Cannot read property 'offsetHeight' of null at InfiniteScroll.scrollListener
I receive this error some times when navigate, and I think if this error is the same.
I recently updated the issue templates on this repo so that I can identify the bugs with this repo.
Please clone your layout and use of react-infinite-scroller by forking this Code Sandbox and linking it here. Doing so will massively expedite getting the bug fixed! 👊