Skip to content

[TreeList] Clicking a partially visible row with virtual scrolling moves it to the top #4969

Description

@mbechev

Description

When the TreeList uses virtual scrolling and keyboard navigation is enabled, clicking a row that is partially visible at the bottom of the scrollable area causes the scrollbar to jump.

The clicked row is repositioned at the top of the TreeList instead of remaining at its current visible position.

Steps To Reproduce

  1. Configure a TreeList with scrollable="virtual", a fixed height, and a matching rowHeight.
  2. Use enough data to enable vertical scrolling. Keyboard navigation is enabled by default in v19.0.0 and later.
  3. Scroll until the last visible row is partially clipped by the TreeList frame.
  4. Click the partially visible row.

Reproduced with a demo from the site:
https://stackblitz.com/edit/angular-ekwdkgtb

Screenshots or video

Screen.Recording.2026-07-21.at.11.11.21.mov

Actual Behavior

The scrollbar jumps and the clicked row moves to the top of the TreeList.

Expected Behavior

The clicked row remains in its current position, and the scroll position does not change like in the Grid:
https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/virtual#virtual-scrolling

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions