Skip to content

Menus close on Escape or a click outside - #780

Open
A13xB0 wants to merge 1 commit into
mainfrom
fix-769-menu-dismiss
Open

A13xB0 wants to merge 1 commit 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.

This branch has not been deployed

No deployments
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