Closed (fixed)
Project:
Drupal core
Version:
9.2.x-dev
Component:
Olivero theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Aug 2021 at 12:19 UTC
Updated:
31 Aug 2021 at 13:04 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
mherchelComment #3
abhijith s commentedApplied patch #2 and it works fine.The width of underline on hover is increased and also the line grows from the center now. Adding screen recordings below.
Before patch:

After patch:

RTBC +1
Comment #4
indrajithkb commentedHi @mherchel thanks for the patch, and thanks @Abhijith S for the review.
"border-top-width increased from 5px to 9px, and line grows changed from left to center" which is the expected result so am just moving the status of the issue from NR to RTBC.
Comment #5
lauriiiIt's a bit strange that the border hides most of the arrow from 2nd level menu items. Any thoughts on this?
Comment #6
mherchelThe submenu should be placed above the hover state. Is this not the case for you?
Comment #7
lauriiiThat seems to be caused by having one menu item that is wrapped on two lines. It's working as expected when there aren't menu items wrapped on multiple lines.
Comment #8
mherchel@lauriii I'm still unable to reproduce this. Does this issue happen without the patch? Animated gif attached.

Comment #9
mherchelAhh I see that happens if another menu item has two lines.
IMO I'm indifferent about this, as I don't expect to see this in the real world. That being said, it's easy enough to fix.
This patch removes the hover state underline for menu items that have children.
Comment #10
gauravvvv commentedPatch #9, Fixes the issue. Border have been removed for the menu items having submenu's.
Added before and after patch recording.
RTBC+1
Comment #13
lauriiiCommitted fa0b720 and pushed to 9.3.x. Also cherry-picked to 9.2.x because Olivero is experimental. Thanks!