react-infinite-scroll-component icon indicating copy to clipboard operation
react-infinite-scroll-component copied to clipboard

Next calling issue on antd table.

Open shantanu543 opened this issue 2 years ago • 7 comments

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.

shantanu543 avatar Oct 28 '21 07:10 shantanu543

I have a similar issue. First call and then only shows Loader without issuing a network call. Not a table, though, regular div element.

phtmgt avatar Nov 02 '21 10:11 phtmgt

Same issue as well. Next function is only called once

Mujaddadi avatar Nov 07 '21 12:11 Mujaddadi

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.

phtmgt avatar Nov 08 '21 07:11 phtmgt

Thank you. That was it.

Mujaddadi avatar Nov 09 '21 18:11 Mujaddadi

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?

v1talii-dev avatar Dec 11 '21 15:12 v1talii-dev

@plamenh Thanks you so much, it helped a lot as I was stuck on the same issue.

abhinavshm95 avatar Jul 09 '23 20:07 abhinavshm95

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.

rishabhpatelpirimid avatar Mar 22 '24 11:03 rishabhpatelpirimid