primereact icon indicating copy to clipboard operation
primereact copied to clipboard

DataScroller: "OnLazyLoad" Not Called When Scrolling Down

Open Jesse-dj opened this issue 1 year ago • 4 comments

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.

Jesse-dj avatar Mar 28 '24 12:03 Jesse-dj

Same issue here, "primereact": "10.7.0". this a core functionality for DataScroller

cesarve77 avatar Jul 15 '24 02:07 cesarve77

Same problem

chaymag avatar Jul 26 '24 14:07 chaymag

any debugging is welcome.

melloware avatar Jul 26 '24 14:07 melloware