clauderic / react-tiny-virtual-list

A tiny but mighty 3kb list virtualization library, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
https://clauderic.github.io/react-tiny-virtual-list/
MIT License
2.46k stars 166 forks source link

scrollToIndex does not trigger the scroll event #74

Open riccio82 opened 5 years ago

riccio82 commented 5 years ago

In my case I use the onScroll function to load new list items. Using scrollToIndex the onScroll function is not called and it seems that the list is complete but it is not like this. I tried to trigger the scroll event but it didn't work. Is there a way to solve this problem?

Thanks