When all items are in view but still need to fetch more it does not fetch
When i scroll everything is fine i get the trigger to then fetch more data, but if i make browser window bigger that shows all the items then it does not trigger fetch even tho props i'm telling there is more data.
Same issue is happening on your example also https://codesandbox.io/s/yk7637p62z
No loading trigger because all items are in view. but if i make smaller window and scroll then i have trigger.

+1 I have this issue.
Here is a sample from me: https://codesandbox.io/s/reverent-taussig-452jyb?file=/src/index.js
Basically I load 3 items and I have more, yet since the scrollbar is not shown, no more will be loaded
I think there is no solution right now: https://github.com/ankeetmaini/react-infinite-scroll-component/issues/185
Is there any solution? Im facing the same issue
@dnntung Use this fork: https://github.com/danbovey/react-infinite-scroller It solved this issue for me.