diprokon / ng-table-virtual-scroll

Virtual Scroll for Angular Material Table
https://diprokon.github.io/ng-table-virtual-scroll
MIT License
135 stars 42 forks source link

Issue with filtered data #15

Closed engzizo79 closed 4 years ago

engzizo79 commented 4 years ago

When data is filtered the scrolling behaviour is not changed and still tries to scroll through all data records.

For example: Data has 100 records. Filtered Data has only 10 records. It is still possible to scroll further than the availabla 10 records, which also breaks the sticky header.

I think filtereddata should be used instead of data, since it is also that what is displayed.

celian-garcia commented 4 years ago

True, and easily reproducible in the examples page https://diprokon.github.io/ng-table-virtual-scroll/#/examples

duxor commented 4 years ago

Same for me