-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
LazyLoad event triggered by moving horizontal scrollbar #7207
Comments
Our current workaround for this issue, in terms of @jose-barata 's sample code, is to introduce a This is not 100% satisfactory, since getting this to coexist with a Refresh Table feature (which does not alter the first row, just like horizontal scrolling, but should reload the data anyway) requires extra code. |
Is there any update for this issue? |
Same issue. Any update? |
@pete4dev, finally, I decided to write my own sort event inside of using the built-in sort. |
I have the same issue. Angular version: 8.0.0 |
Reviewing for 9.0.1 |
I could not replicate however added a check to lazy load on vertical scroll only. |
Current behavior
I have a lazyloaded table that can be scrolled both vertically and horizontally. I can scroll the table vertically and horizontally without any issues until I reach the bottom end of my table. The loadDataOnScroll($event) method gets called every time the vertical scrollbar is used and we can use the table horizontal scrollbar without loadDataOnScroll($event) getting called. However if we reach the end of dataset (bottom end of the table) and we decide to move the horizontal scrollbar the loadDataOnScroll($event) method is called when it shouldn't be.
Table configuration:
Expected behavior
When the end of the dataset (bottom end of the table) is reached and we decide to move the horizontal scrollbar the loadDataOnScroll($event) method is not called.
node --version
= v10.15.0The text was updated successfully, but these errors were encountered: