Replies: 1 comment 1 reply
-
This may be a duplicate of #1621 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's not uncommon for dropdown menus on the web to contain a mix of actionable and selectable items. Here's an example from Radix UI: https://www.radix-ui.com/docs/primitives/components/dropdown-menu
I think this could be partially achieved with some small changes to support
disabledBehavior
inuseMenu
anduseMenuItem
. Though it would be limited to single OR multiple selection within the menu, and of course items couldn't actually be disabled.A better API might be to support
selectionMode
inuseMenuSection
but it's less clear what complexity that would introduce. Keen to know if this is something other folks are interested in.Beta Was this translation helpful? Give feedback.
All reactions