Comments

hinal05 created an issue. See original summary.

hinal05’s picture

Assigned: Unassigned » hinal05
Status: Active » Needs work
hinal05’s picture

Assigned: hinal05 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new924.24 KB
new973.1 KB
new1.11 KB

I have created patch for this issue. Please review it.

anmolgoyal74’s picture

StatusFileSize
new1.17 KB
new1.26 KB
gauravvvv’s picture

Patch #4, Looks good. Can we add a scroll track here, that is not visible. Need your input here @mherchel.

abhijith s’s picture

StatusFileSize
new11.84 MB
new9.64 MB

Applied patch #4 on 9.1.x.Scrollbar appeared after applying this patch.

Before patch:

before

After patch:

after

RTBC +1

bogdan.rizescu’s picture

Status: Needs review » Needs work
StatusFileSize
new792.27 KB
new746.69 KB

I 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:
After applying patch #4

hinal05’s picture

Assigned: Unassigned » hinal05
hinal05’s picture

Assigned: hinal05 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new3.77 MB
new4.63 MB
new5.94 KB

I have remove extra spacing between menus links for sub menu dropdown. Please review the patch and the GIF.

hinal05’s picture

StatusFileSize
new5.95 KB
new554 bytes

Please review updated patch.

Madhu kumar’s picture

StatusFileSize
new266.92 KB
new263.18 KB

Patch #4 applied cleanly and it is working well. Now we are able to see the scroll bar.

Before patch:

before-patch

After patch:

after

Madhu kumar’s picture

Status: Needs review » Reviewed & tested by the community
gauravvvv’s picture

CI failed. Moving to NW

gauravvvv’s picture

Status: Reviewed & tested by the community » Needs work
abhisekmazumdar’s picture

Hi @hinal05

Thanks for the patch.

+++ b/core/themes/olivero/css/components/navigation/nav-primary-button.css
@@ -90,19 +90,14 @@
+      //margin-inline-end: -2.25rem

I would like to know is there any reason for commenting out this? Can't we remove this right away?

hinal05’s picture

Hi @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.

hinal05’s picture

Status: Needs work » Needs review
StatusFileSize
new2.19 MB
new1.92 MB
new4.8 MB
new6.17 KB
new5.89 KB

I 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).

sulfikar_s’s picture

StatusFileSize
new525.49 KB
new455.71 KB

Hi 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

mherchel’s picture