Closed (outdated)
Project:
Drupal core
Version:
9.1.x-dev
Component:
Olivero theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2021 at 11:11 UTC
Updated:
9 Aug 2021 at 14:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hinal05 commentedComment #3
hinal05 commentedI have created patch for this issue. Please review it.
Comment #4
anmolgoyal74 commentedComment #5
gauravvvv commentedPatch #4, Looks good. Can we add a scroll track here, that is not visible. Need your input here @mherchel.
Comment #6
abhijith s commentedApplied patch #4 on 9.1.x.Scrollbar appeared after applying this patch.
Before patch:
After patch:
RTBC +1
Comment #7
bogdan.rizescu commentedI have applied patch #4 and it partially solves the issue. As you can see in after_patch.gif when hovering inside-outside on Home Menu, the list with submenus tends to redimension to its natural size, without the scrollbar.
Patch tested in:- - Chrome + Firefox
- - 9.1.x + 9.2.x development branches of Drupal Core
Hovering inside-outside the Home Menu:
Comment #8
hinal05 commentedComment #9
hinal05 commentedI have remove extra spacing between menus links for sub menu dropdown. Please review the patch and the GIF.
Comment #10
hinal05 commentedPlease review updated patch.
Comment #11
Madhu kumar commentedPatch #4 applied cleanly and it is working well. Now we are able to see the scroll bar.
Before patch:
After patch:
Comment #12
Madhu kumar commentedComment #13
gauravvvv commentedCI failed. Moving to NW
Comment #14
gauravvvv commentedComment #15
abhisekmazumdarHi @hinal05
Thanks for the patch.
I would like to know is there any reason for commenting out this? Can't we remove this right away?
Comment #16
hinal05 commentedHi @abhisekmazumdar
Thanks for the reply.
The issue is that the hovering on inside or outside on Menu link the list with submenus is open. we just need to open dropdown on the hovering on inside the link text don't need to open outside the menu link.
As per this issue, need to remove menu link padding or set spacing properly because it was affecting on sub menu dropdown.
I have remove "margin-inline-end: -2.25rem" because After applied new spacing css we don't need this style any more.
I will create new issue for this.
Comment #17
hinal05 commentedI have applied patch #4 and the sub navigation scrolling is working fine but after the implementing this patch getting one more issue regarding dropdown arrow. Arrow was hide after applied this patch So, I have created one more patch for this issue.
Please review the patch and screenshots and make sure after applying this patch need to clear the catch (command: drush cr).
Comment #18
sulfikar_s commentedHi I've tested the #17 patch, and it fixes the main issue of the ticket as well as the arrow issue (mentioned on #17) & the issue mentioned on #7.
Attaching the before & after of the patch.
RTBC+1
Comment #19
mherchelThis was fixed in #3190120: Olivero: Focused level-2 nav items should always be in viewport during keyboard navigation.