Skip to content

TreeList: Fix widget treeList keyboard navigation scroll behavior#5421

Merged
knolleary merged 1 commit intonode-red:masterfrom
piotrbogun:5420/TreeList/scroll-on-overflow-navigation
Jan 7, 2026
Merged

TreeList: Fix widget treeList keyboard navigation scroll behavior#5421
knolleary merged 1 commit intonode-red:masterfrom
piotrbogun:5420/TreeList/scroll-on-overflow-navigation

Conversation

@piotrbogun
Copy link
Copy Markdown
Contributor

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Resolves #5420

The widget's select() method doesn't call reveal(), so keyboard navigation never scrolled items into view. Added reveal() call.

scroll_fix.mp4

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@knolleary knolleary merged commit 0738754 into node-red:master Jan 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants