-
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
Navigation Menu: Optionally use arrow for dropdowns. #18396
Comments
Should this arrow be customisable by a theme? |
A setting makes more sense to me because a style variation would end up as a complicated matrix: light / with arrow; light / with no arrow; dark / with arrow; dark / with no arrow. |
@mtias sounds reasonable, it could get murky and that was part of reason I was torn. I think maybe then this at least opens it up for other subnav settings or for plugin hooks. |
@mtias @karmatosed I'd suggest a bit different placement and naming of the setting, something like this: How does that look? Edit: Should this actually be a per-item or rather a per-navigation setting? I'd suggest the latter as it feels more natural to me - either I want to show chevrons for submenus or not. What do you think? |
Yes, correct. It should be a setting of the navigation block, not the navigation link. |
I misunderstood his post, nevermind. |
#19601 has been merged, but I'm still not convinced that adding a whole new inspector setting and addition HTML markup was necessary. Are we sure that this could not have been accomplished with CSS |
HI @ZebulanStanphill, thanks for your feedback.
It has been discussed, for instance...
if you mean to adding an SVG icon, it's similar to the previous one. It was discussed in the PR, too. However, we are going to keep working on the new design for sub-menus, and it's closely related to this implementation. Here there is the (draft now) PR #19681 |
Sorry, maybe I wasn't clear enough about my previous comment. Just in case, what I attempted to say is feedback is more than welcome, @ZebulanStanphill, in #19681 in order to keep polishing the implementation. |
It'd be nice to allow users to choose whether they want to show an arrow next to navigation items that have a dropdown. Probably off by default.
The text was updated successfully, but these errors were encountered: