Skip to content

Conversation

@glastonbridge
Copy link
Collaborator

@glastonbridge glastonbridge commented Jul 8, 2025

Live demo https://focus-trap-window-focus.review-pxt.pages.dev/

Issue https://github.com/microbit-foundation/blockly-project/issues/87

When loading the Make:code editor initially, it is possible to end up in a state where the tour does not trap focus.

After investigating it, have not been able to pinpoint the exact cause. But by listening for general focusin events, we may be able to mitigate it. Obviously this is not a proper fix, but I didn't want to leave this with nothing. Even this doesn't seem to solve the problem every time. Presented for consideration.

microbit-matt-hillsdon and others added 2 commits July 3, 2025 10:05
For compatibility with develop of Blockly on preview branch only
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.

3 participants