primereact
primereact copied to clipboard
DataScroller: "OnLazyLoad" Not Called When Scrolling Down
Describe the bug
I have a situation similar to the provided Stackblitz project where I want to load initial data and fetch data on demand when scrolling down. The initial fetch seems to work fine, yet when scrolling down nothing happens. I want to append fetched data to the current 'products' list.
Reproducer
https://stackblitz.com/edit/react-dm1er8?file=src%2FApp.js
PrimeReact version
10.5.3
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
The expected behavior is for 'OnLazyLoad' to be called when the DataScroller component reaches the bottom of its container.
Same issue here, "primereact": "10.7.0". this a core functionality for DataScroller
Same problem
any debugging is welcome.