Replies: 1 comment 2 replies
-
Totally valid request. Want to give it a shot? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Feature request
Being able to control the modality of a Menu would be great!
🧱 Problem Statement / Justification
In some Menu compositions, clicking outside of the Menu should not cause a click event to be triggered on the clicked element.
✅ Proposed solution or API
The exact same API as Dialog and Popover.
Menu.Root modal
↩️ Alternatives
You could probably find a way around this by utilizing either
onPointerDownOutside
oronInteractOutside
. If this is deemed to be out of scope, I'll do that!📝 Additional Information
https://www.radix-ui.com/primitives/docs/components/dropdown-menu
Beta Was this translation helpful? Give feedback.
All reactions