Skip to content

Conversation

@tracygardner
Copy link
Contributor

Motivation

  • The toolbox search input could lose its keydown handler when Blockly mutates the DOM, causing ArrowDown/Tab to keep focus in the search box instead of moving into the flyout.

Description

  • Add a guard using the search.dataset.searchFlyoutWired flag to avoid attaching duplicate keydown handlers to the toolbox search input and call wireSearchInput() from the mutation observer so newly created search inputs are wired.

Testing

  • No automated tests were executed for this change.

Codex Task

@tracygardner tracygardner deleted the codex/fix-search-box-focus-on-down-arrow branch January 19, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants