-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for dropping while dragging into hidden areas #23874
Comments
As one begins to drag a main navigation item all of the navigation with included submenus should also become visible showing the options where one can drop the main nav item. I do not see the need to have a Needs Design Feedback and Needs Design label here. It seems straight forward. It needs the Needs Dev label. |
@paaljoachim what if we have navigation three levels deep in four top menus? How do you show all this at once? I'm super sure we need a good UX here where somehow we can avoid such a display of 40 boxes all at once. I proposed that on hover while dragging submenus become visible. The [Needs design feedback] was an attempt to get an appreciation for this idea before implementation :) |
Hey @draganescu What about showing the current menu which the drag item is over. For instance. Dragging for instance 3item submenu2 would show the full branch top menu item, 2item submenu and 4item submenu. @mapk Mark could you also share some view points? |
I immediately thought of the Finder on Mac OS. When I drag a file over a folder, the folder blinks and then opens up. This process continues on indefinitely as long as there are closed folders within each other. I think we might be able to try something like that with the Nav block?
Mac OS |
Bottom line is that dragging an item over a submenu tree opens the submenu tree, and shows the submenu items. |
Thank you @mapk ! That is exactly what I tried to suggest:
and it is also what @paaljoachim said here:
So I'll remove the design labels. |
The navigation block supports drag and drop. Currently navigation items can be dragged, but they cannot be dropped into sub-menus because these are hidden by default.
A way is needed that makes it so that while dragging, instead of showing submenus on click, we should show them on hover, or dropping on an item moves the dragged item as a child of the item it was dropped on to.
The text was updated successfully, but these errors were encountered: