Skip to content

[gap] DropdownMenu: DropdownMenu (@astryxdesign/core 0.6.3): a menu opened from a right-cl #6947

Closed

Description

@themiketodd

Component: DropdownMenu
Category: API friction
Source: ai
Reported: 2026-10-05T14:57:05.574Z

Intention

DropdownMenu (@astryxdesign/core 0.6.3): a menu opened from a right-click (contextmenu) is closed immediately by light dismiss.

Additional context

Steps: on an element next to the trigger, handle onContextMenu with preventDefault and open the DropdownMenu (via the trigger), then release the right mouse button. Event order in Chromium on Linux and macOS: pointerdown, mousedown, contextmenu (menu opens), pointerup, mouseup, auxclick. Expected: the menu stays open, as a context menu does. Actual: the release of the same right-button press is treated as an outside click and onOpenChange(false) fires, so the menu closes at once. Workaround: ignore onOpenChange(false) until that press's pointerup has passed. Suggested fix: a supported context-trigger or open-at-point mode, or a light dismiss that ignores the release of the opening press.

Activity

  1. added a commit that references this issue on Nov 8, 2026
    28401fb
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