Skip to content

feat: layers.modalOpen store and hover UI that never opens under a modal #550

Closed

Description

@mvilacad

Atlas app: an edge-peek panel opened under a modal dialog. The layer engine already knows when a modal is open (onLayerChange), but exposes it only as a DOM event, and the lib's own hover-opened UI (Tooltip, HoverCard, NavigationMenu, DropdownMenu submenus) does not consult it.

Plan: reactive layers store (layers.modalOpen, layers.count) from primitives/layer; Tooltip, HoverCard, NavigationMenuItem, DropdownMenuSub hover paths never open while a modal layer is open unless the trigger is inside that modal. Apps gate their own hover/edge UI with the same store.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions