Should this work in a functional component?
I am trying to implement this in a functionali component, but it's not working. should it work or does it only work from class based component?
It works just fine with the functional component.
https://codesandbox.io/s/vigorous-borg-khsq3
Stange, it's not working for me. Is there an issue when using it in a modal? That's how I'm trying to implement it.
I'm also having problems using this lib inside a modal with functional components. The next function is not being called. I'm using Material-UI's modal component.
@heniotierra I had the same problem, because my data has no enough data (only 4 objects) to activate a scrollable window. Try to reduce your navigator height. Im still trying to solve this problem.
Same issue here. My next function isn't being called correctly, as @heniotierra
Same issue here
For next function to be called your component needs to have enough rows to force a scroll. The component attaches a listener on scroll and then calls the next function. You can try by fetching enough records to cause a scroll.
Closing this issue as Functional components work too. Please open another with a repro. Thanks :)
next function not work in modal dialog...
@v1talii-dev coud you fix that issue on modals?