In nested menu allow action on nested sub menu parent
See original GitHub issueIn a given context menu:
item 1
item 2 > sub-item 2.1
sub-item 2.2
it is possible to attach actions only to items: item 1, sub-item 2.1, sub-item 2.2
It should be possible to attach action also on “item 2” (which is a parent to nested submenu with “sub-item 2.1” and “sub-item 2.2”)
PS Thanks for your work!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
CSS-Nested submenu display same level as parent
1 Answer 1 ... This makes it so the absolute positioning of your sub-menu is relative to the list-element, not the entire list....
Read more >Nested submenus prevent previous submenu link to be opened
In theory both menu and submenu should be clickable (expected). The first one goes to https://google.com/ (expected, not working) the second one ...
Read more >Targeting Menu Elements with Submenus in a Navigation Bar
Recently, I was working on a dropdown navigation bar and wanted to differentiate the menu items which contained sub menus from those that...
Read more >Submenu - Ariakit
Submenu Rendering nested Menu components to create a dropdown menu with submenus that open when hovering over the parent menu item.
Read more >Menus and actions - Components - Human Interface Guidelines
You might consider creating a submenu when a term appears in more than two menu items in the same group. For example, instead...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@krzysieki @muzuro this should be fixed as of 5e03256d40c7af4eed50eea5014143dcfb45f246
Just specify both
click
andchildren
for the new object-based implementation.Please consider scenarios:
example 1. We have items and categories in our system. Categories can contain sub-categories (tree structure). Now in UI there is a function to attach a category to an item. Function can be achieved via context menu: right click on item -> list of categories in context menu -> now we can choose one of categories (even if it has children) or subcategories.
example 2. We have files and folders. Folders are structured in tree. And there is a function to move files between folders. Right click on file -> context menu “move to >” -> now we have list of destination folders, but some of them can contain subfolders.
I know that described scenarios are not perfect UI/UX solutions but believe me that these are real use cases 😃