-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
p-table virtual scroll event is triggering even on scroll up #8812
Comments
I also tried a work around like this. Unfortunately with this the loading-body /loading text doesn't disappear. Does it expect the total records to be increased every time the function is called?
I see no use of setting this.loading to true or false. |
VirtualScrolling for Table is reimplemented from the ground up (#8855) and this particular case i no longer an issue with the new implementation. Thank you for the feedback. |
Hello guys, this is still present in the latest version, even in your demo: |
Hi, you can use appendOnly:true option in virtualScrollerOptions property or you need to write a cache algorithm yourself in lazy method. |
@mertsincan thanks for your reply but that property is not present in virtualScrollerOptions:
|
The last version of primeng has that property appendOnly I was using version 14. Please update the tables on your website or provide better documentation. Thanks for your awesome work. |
If you have a PrimeNG PRO Support subscription please post your issue at;
https://pro.primefaces.org
where our team will respond within 4 business hours.
If you do not have a PrimeNG PRO Support subscription, fill-in the report below. Please note that
your issue will be added to the waiting list of community issues and will be reviewed on a first-come first-serve basis, as a result, the support team is unable to guarantee a specific schedule on when it will be reviewed. Thank you for your understanding.
Current Queue Time for Review
Without PRO Support: ~8-12 weeks.
With PRO Support: 1 hour
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/github/primefaces/primeng-issue-template
Current behavior
The virtual scroll event gets triggered even when scrolled up with lazy loading. The same can be seen in official demo of the scroll functionality.
Expected behavior
Event should be triggered only while scrolling down
Minimal reproduction of the problem with instructions
Scroll up and down on the official demo
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
angular 8.2.3
latest 9.0.6
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: