-
-
Notifications
You must be signed in to change notification settings - Fork 306
Open
Labels
component: context menuChanges related to the context menu component.Changes related to the context menu component.platform: windowstype: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Bug report
Current behavior
When a context menu is open, right-clicking on an item inside the context menu immediately closes the menu instead of allowing the item to handle the right-click interaction.
The menu closes as if an outside click occurred.
Expected behavior
Right-clicking on a context menu item should not close the parent context menu by default.
The context menu should remain open and allow the item to handle the right-click event (e.g. opening a nested menu or triggering a custom action).
Reproducible example
-
Open a context menu
-
Right-click on one of the context menu items
-
The context menu closes immediately
Base UI version
v1.0.0
Which browser are you using?
Chrome
Which OS are you using?
Windows
None
Voiceover/JAWS etc.
Additional context
None
Metadata
Metadata
Assignees
Labels
component: context menuChanges related to the context menu component.Changes related to the context menu component.platform: windowstype: bugIt doesn't behave as expected.It doesn't behave as expected.