kendo-vue
kendo-vue copied to clipboard
[Bug][Grid] Scrollbar position is reset if the total prop is changed
When using the total prop and a new item is added to the data or one is removed, the scrollbar position is reset. This can be seen in the following example:
https://codesandbox.io/s/serene-matsumoto-mlldh8
Steps to reproduce:
- Scroll down so the scrollbar is not on the top
- Click add an item or remove and item
- Observe how the scroll is shifted to the top
When checking the switch component on, this behavior is not reproduced, however, empty spaces are being displayed.
Ticket ID: 1622189
This issue is reproducible in React as well: https://stackblitz.com/edit/react-2xjvnl-f3hmma?file=app%2Fmain.jsx