-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor DataScroller for Performance and Fix Lazy Loading #3906
Comments
Had a similiar issue, and fixed that, see my pull request #4676. Please check and merge if you'd like. |
We'll implement virtual scroll for lazy mode. |
@cagataycivici I'm still running into this issue in v5.2.4. Here's a plnkr where I introduce a 250 ms timeout before loading the next page of results, which illustrates the issue: http://plnkr.co/edit/5EyojPuaoLg9ox5olk4z?p=preview |
The Plunkr example posted by @mroskamp may not load. Here's the same example on StackBlitz: I opened a new issue: #5816 |
Request: There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
Response: I am currently test driving PrimeNG. I am not yet convinced, that we should buy support for this product. I can't even tell if your request is legit or fishy. Is it a hint, a warning or a threat?
I'm submitting a ... (check one with "x")
Current behavior
If the datascroller fires a lazy load event, it assumes an instantaneous, successful lazy load happens, thus immediately incrementing "this.first = this.first + this.rows;".
Since there is no way to unbind the lazy load event while lazy loading, a normal scroll finger movement will fire huge amounts of lazy load events... while the lazy load event you actually care about is not yet finished.
Expected behavior
Maybe allow deactiving the lazy load event while lazy loading. Seriously. Is there any use case in which in the current behaviour is required or useful? What do i miss?
The text was updated successfully, but these errors were encountered: