react-infinite-scroller
react-infinite-scroller copied to clipboard
New data doesn't get fetched when there´s no scrollbar
When the initial data does not fill the page (resulting in not having a scrollbar) the loader is displayed, but new data is not being fetched as there's no scroll event to trigger the loadMore callback.
same here ;(
thank you for describe the issue perfectly the way I fixed it is to give the inner component some minHeight. For example:
style={{
minHeight: '80vh',
}}
same, the next should be called when the infinite scroll div's height is less than the page height or something like that.
Just get the error again, how I fix it is to make the scroll area alway a slightly higher than the parent by:
height: 101%;
Sometimes it works if the DOM structure is simple enough