Skip to content

Menus close on Escape or a click outside - #780

Merged
A13xB0 merged 3 commits into
mainfrom
fix-769-menu-dismiss
Oct 30, 2026
Merged

A13xB0 merged 3 commits into
mainfrom
fix-769-menu-dismiss

Conversation

@A13xB0

@A13xB0 A13xB0 commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Closes #769.

An open dropdown now lays a scrim over the window below the menu bar. A press on it closes the menu without acting on what is underneath. Escape closes it too. The bar stays live, so pressing another title switches menus, and a press inside the dropdown (a heading, the padding) leaves it open.

Tests in internal/ui/shell/interact_test.go drive both through Gio's input router.

@A13xB0
A13xB0 merged commit 3fd8fd3 into main Oct 30, 2026
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.

Menu dropdowns don't close on Escape or a click outside

1 participant