Skip to content

Conversation

@microbit-robert
Copy link
Contributor

Blockly dropdown menus that include a HorizontalRuleMenuItem (menu separator) as a MenuItem have an issue where the menu separator becomes the selected menu item in a non-obvious way when navigating the dropdown via keyboard.

See the video below for an example of this. Keyboard navigation should only visit the 4 'real' items in this dropdown, however, it also visits the menu separator as a 5th item.

Screen.Recording.2025-01-30.162244.mp4

This PR disables the separator menu item so that it is ignored by keyboard navigation.

@riknoll riknoll merged commit 0ef36f9 into microsoft:master Jan 30, 2025
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.

2 participants