telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.54k stars 1.91k forks source link

Grid with endless scroll does not persist scroll position #6355

Open kendo-bot opened 3 years ago

kendo-bot commented 3 years ago

Bug report

When the Kendo UI Grid is configured to have endless scrolling and an item is updated on the first page, the scrollbar is reset. If an update is done on a page after the first one, the scroll is correctly persisted.

Reproduction of the problem

  1. Set a grid with an endless scroll.

  2. Scroll down (without entering the second page).

  3. Update an item on the first page.

  4. The scroll is reset.

Dojo sample for reference:

https://dojo.telerik.com/EcUKIrAK/16

Environment

CecoMilchev commented 3 years ago

As a temporary workaround, set the endless property in the edit event handler: https://dojo.telerik.com/iCUQiWiD