Skip to content

M6b: dismissal, focus modes, Nav, root_at (and the DnD resolver) #105

Closed

Description

@samitbasu

PR 3 (§4, §5, §9).

Activity

  1. samitbasu commented on Nov 11, 2026

    @samitbasu
    OwnerAuthor

    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.

  2. samitbasu commented on Nov 11, 2026

    @samitbasu
    OwnerAuthor

    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.

  3. added a commit that references this issue on Nov 12, 2026
  4. samitbasu commented on Nov 13, 2026

    @samitbasu
    OwnerAuthor

    Done in PR #141 (dismissal, swallow/pass-through, exclusive menus, focus, Nav, root_at in DnD).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions