react-infinite-scroll-component
react-infinite-scroll-component copied to clipboard
Next calling issue on antd table.
After first call of next function, it is not being called on antd table. Can anyone help me out with it or anyone faced similar issue.
I have a similar issue. First call and then only shows Loader without issuing a network call. Not a table, though, regular div element.
Same issue as well. Next function is only called once
I solved it and I think it had to do with the dataLength attribute. I thought this was supposed to be the total number of loadable elements, and it actually should be the total number of loaded elements (not loadable). I hope this helps you.
Thank you. That was it.
I faced the same problem only in modal window (antd). When the modal is shown, the next method does not work, and only the component is visually displayed in the loader. No problems with items. Has anyone encountered this behavior?
@plamenh Thanks you so much, it helped a lot as I was stuck on the same issue.
Hey does this react-infinite-scroll-component works with antd protable because I want that scroller should listens for internal div of antd protable which does not have Id.