Skip to content

TreeList component does not reveal items outside of scroll area on larger lists. #5420

@piotrbogun

Description

@piotrbogun

Current Behavior

When viewing a tree list that has scroll, navigating through the list with arrow keys to items outside of the current viewport does not keep the items in view.

Expected Behavior

When viewing a tree list that has scroll, navigating through the list with arrow keys should scroll to keep the items in view.

Steps To Reproduce

  • View a large tree list that expands its current container causing scroll overflow.
  • Select an item and navigate up/down outside of the current viewport.
  • The UI does not scroll to keep up with the current focused selection.
large_treeList_bug.mp4

Example flow

Environment

  • Node-RED version: 4.1.2
  • Node.js version: 23.10.0
  • npm version: 11.4.2
  • Platform/OS: MacOS
  • Browser: Chrome

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