Skip to content

fix: Export registerFlyoutCursor as a static method#788

Merged
gonfunko merged 1 commit into
RaspberryPiFoundation:mainfrom
microbit-matt-hillsdon:flyout-cursor
Feb 10, 2026
Merged

fix: Export registerFlyoutCursor as a static method#788
gonfunko merged 1 commit into
RaspberryPiFoundation:mainfrom
microbit-matt-hillsdon:flyout-cursor

Conversation

@microbit-robert

Copy link
Copy Markdown
Contributor

Fixes #756

Since v3.0.1 the flyout has been using a LineCursor which cannot navigate to flyout labels or buttons. If the button or label is the first item in the flyout, it is focussed by default when moving focus from the toolbox to the flyout, but cannot be navigated to otherwise.

I've added this as a static method following existing convention, but just export {registerFlyoutCursor} from './flyout_cursor'; would work if it needs to be a separate function.

@maribethb

Copy link
Copy Markdown
Collaborator

This is needed sooner because this is affecting a live issue in makecode

we should do a patch release of this after merging, we were already aiming to do one for core next week ish so we should test/release this as well

@gonfunko gonfunko merged commit ec5db88 into RaspberryPiFoundation:main Feb 10, 2026
8 checks passed
@microbit-robert microbit-robert deleted the flyout-cursor branch February 11, 2026 09:18
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.

registerFlyoutCursor is not exported

3 participants