Skip to content

[v13.0.0-beta.0] Keyboard navigation occurs while widget / dropdown divs are open #9719

@microbit-robert

Description

@microbit-robert

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

Keyboard navigation occurs while widget / dropdown divs are open. This includes arrow keys as well as B/N stack navigation.

MakeCode has more complex field editors that have additional actions that don't close them, e.g., previewing a sound. When pressing Space/Enter on these can cause the field editor to reset and reopen depending on where keyboard focus is in the background.

Keyboard shortcuts are being handled by the workspace when they shouldn't be.

Reproduction steps

Priority

No response

Stack trace

Screenshots

Simple example:
https://github.com/user-attachments/assets/72edee95-1de8-41b2-8e1f-ff1be4abb464

More complicated example:
https://github.com/user-attachments/assets/9b6ebb4f-a6b7-48e8-8800-196fc39c55a8

Browsers

No response

Metadata

Metadata

Assignees

Labels

issue: bugDescribes why the code or behaviour is wrong

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions