Skip to content

feat: 10187 toolbox flyout nav shortcuts - #10258

Draft
mikeharv wants to merge 3 commits into
RaspberryPiFoundation:mainfrom
mikeharv:feat/10187-toolbox-flyout-nav-shortcuts
Draft

feat: 10187 toolbox flyout nav shortcuts#10258
mikeharv wants to merge 3 commits into
RaspberryPiFoundation:mainfrom
mikeharv:feat/10187-toolbox-flyout-nav-shortcuts

Conversation

@mikeharv

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes

Proposed Changes

Reason for Changes

Test Coverage

Documentation

Additional Information

MannXo and others added 3 commits July 31, 2026 09:27
Page Up, Page Down, Ctrl/Cmd + Home and Ctrl/Cmd + End only acted on
workspace blocks. In the toolbox they moved focus out of the toolbox and
into the workspace, and in the flyout the page shortcuts did nothing.

Ctrl/Cmd + Home and End now move to the first and last item of whichever
of the workspace, toolbox or flyout holds focus. Page Up and Page Down
move focus to the first or last currently visible item of the toolbox or
flyout and scroll it to the edge of the viewport it moved towards, so
that nothing between the old and new position is passed over unseen.

No new key bindings are introduced, and everything stays inside the
opt-in registerNavigationShortcuts bundle.

Fixes RaspberryPiFoundation#10187
Toolbox items take focus with preventScroll, so Ctrl/Cmd + Home and End
moved focus to a category that stayed off screen. ToolboxItem.onNodeFocus
now scrolls the item into view with block and inline set to nearest.

Paging no longer scrolls the newly focused item to the far edge of the
viewport, which moved it a long way when it was already partly visible.
The item's own scroll-into-view handles it instead, so it moves only as
far as it takes to show it and stays near the edge it came from.
@github-actions github-actions Bot added the PR: feature Adds a feature label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants