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
{{ message }}
Repository navigation
[gap] DropdownMenu: DropdownMenu (@astryxdesign/core 0.6.3): a menu opened from a right-cl #6947
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
fix(Layer): a layer opened by a right click stays open when that pres…