react-infinite-scroller icon indicating copy to clipboard operation
react-infinite-scroller copied to clipboard

offset less than zero

Open FunctionRun opened this issue 7 years ago • 2 comments

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.

code position

FunctionRun avatar May 25 '17 12:05 FunctionRun

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.

renatoholanda avatar Jul 28 '17 20:07 renatoholanda

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! 👊

danbovey avatar May 14 '18 18:05 danbovey