bug(ngrid): filtering the dataset does not update virtual scroll offset in fixed strategy
shlomiassaf opened this issue · comments
What is the expected behavior?
When filtering the scroll bar should update to reflect the new offset.
What is the current behavior?
Filtering does not trigger a scroll bar offset refresh.
What are the steps to reproduce?
Open the demo app.
In home page scroll to the last row and start filtering, the scroll bar does not change it's size not it's offset and no row is visible while there are results from the filter query.
More info
Actually, the offset does get updated, but in iterations, each iteration will push the scroll bar towards the last visible row in a step of rows the is equal to the ``maxBuffer / itemSize
This will run in loop until reaching a visible row, so the time it takes depends on the length of the offset started from.