You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One pure dismissals(stack, input) with a unit-test matrix; on_dismiss; DismissOn { Default, EscOnly, Never }.
Focus { Enter, Stay, None } with restore to the trigger (F4); Nav::{Menu, Submenu, Listbox} (submenus open on click/Enter/Right only); accesskit roles.
Decided 2026-11-11: the press that dismisses an overlay is swallowed for menus, context menus and Select (native and Radix DropdownMenu default: while open, the overlay's blocker covers the screen with nothing drawn), and passes through for popovers (Radix Popover default). Per-overlay override. At most one menu open at a time follows from this. Record in docs/overlays.md §4 with this PR.
Decided 2026-11-11: menus are exclusive. When any overlay opens (by input or programmatically) while a swallowing overlay (menu, context menu, Select) is open and the new one isn't nested in it, the library calls the menu's on_dismiss. Popovers may coexist; nested overlays (submenus, a Select in a dialog) are exempt. The library never mutates app state itself (D22 holds); it only reports. Consequence: a menu item that opens a dialog needs no explicit close. Judged in the same pass as §4's rules, from the opening-order stack and nested_in. Record in docs/overlays.md §4.
Activity
samitbasu commentedon Nov 11, 2026
Decided 2026-11-11: the press that dismisses an overlay is swallowed for menus, context menus and Select (native and Radix DropdownMenu default: while open, the overlay's blocker covers the screen with nothing drawn), and passes through for popovers (Radix Popover default). Per-overlay override. At most one menu open at a time follows from this. Record in docs/overlays.md §4 with this PR.
samitbasu commentedon Nov 11, 2026
Decided 2026-11-11: menus are exclusive. When any overlay opens (by input or programmatically) while a swallowing overlay (menu, context menu, Select) is open and the new one isn't nested in it, the library calls the menu's
on_dismiss. Popovers may coexist; nested overlays (submenus, a Select in a dialog) are exempt. The library never mutates app state itself (D22 holds); it only reports. Consequence: a menu item that opens a dialog needs no explicit close. Judged in the same pass as §4's rules, from the opening-order stack andnested_in. Record in docs/overlays.md §4.Merge pull request #141 from samitbasu/m6b-dismiss
samitbasu commentedon Nov 13, 2026
Done in PR #141 (dismissal, swallow/pass-through, exclusive menus, focus, Nav, root_at in DnD).