In full screen, the list of submenu open at hovering on outside or inside of the main menu text so, we need to opening sub menu only on hovering inside of the text.
Please review the screenshot for this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #39 | afterpatch.png | 159.69 KB | rinku jacob 13 |
| #39 | beforepatch.png | 159.61 KB | rinku jacob 13 |
| #38 | 3202667.35.patch | 7.68 KB | sakthivel m |
| #36 | After Patch 3202667 Mobile.png | 129.16 KB | chetanbharambe |
| #36 | After patch 3202667.png | 291.88 KB | chetanbharambe |
Comments
Comment #2
gauravvvv commentedThis is because of excessive padding on both the top and bottom side of the menu item.
Comment #3
Madhu kumar commentedHi I am facing same issue , Below solution solve my issue
Comment #4
gauravvvv commentedIf we apply the above code
then on-focus below line will not have spacing.
Adding screenshot for same.
Comment #5
gauravvvv commentedComment #6
aaron.ferris commentedPerhaps explicitly setting the padding as 0 top and bottom isn't the way to go, the excess padding seems to be coming from
The removal of the padding top and bottom from the above selector means this falls back to
Which looks more appropriate in my implementation. Ill add a patch that works for me.
Comment #7
aaron.ferris commentedComment #8
aaron.ferris commentedI might need to have another look at this, the patch means any menu with children is a little too congested when its active.
Comment #9
aaron.ferris commentedAttaching a patch that fixes a couple of problems ive seen from reducing the padding
Im unaware of the intended design of the bottom border with a child menu item open, but it doesnt feel correct to show the border and the child item.
Feedback welcome.
Comment #10
aaron.ferris commentedComment #11
aaron.ferris commentedJust noticed the module is using postcss, attaching a patch with both .css files.
Comment #12
aaron.ferris commentedFixing an oddity.
Comment #13
bhumikavarshney commentedHi @aaron.ferris,
Patch #12 works fine for me.
Comment #14
hinal05 commentedApplied patch #12 and it's working fine for top and bottom but right side spacing dropdown open issue is still there.
I have created new patch for this issue. Please review the patch and screenshots.
Make sure, need to clear cache after the applied new patch.
Comment #15
hinal05 commentedComment #16
Madhu kumar commentedPatch #12 applied cleanly and it is working well. Screenshot for reference.
Comment #17
hinal05 commentedThanks for the comments.
Re-roll the patch #14. Please review the new patch.
Comment #18
Madhu kumar commented@hinal05 Unable to apply the patch , patch failed. Screenshot for your reference
Comment #19
meghasharma commented@Madhu_kumar #17 hinal's Patch applied successfully
looks good to me
marking as RTBC..
Comment #20
aaron.ferris commentedComment #21
kleiton_rodrigues commented@hinal05 The patch cannot be applied, the patch has failed.
Screenshot for viewing
Comment #22
djsagar commented@hinal05 your patch is applied and resolving side spacing in dropdown but when i tested it's creating another issue, for issue please review the attachment which i provided.
Thank you!
Comment #23
kiran.kadam911@djsagar Thanks for the screen video. I checked Olivero-POC there is also having the same behavior/issue so this issue is not because patch #17
Olivero-POC URL: https://olivero-poc.netlify.app/
Please check and confirm.
Thanks!
Comment #24
djsagar commented@kiran.kadam911 same issue find in URL which you shared.
Olivero-POC URL: https://olivero-poc.netlify.app/
Please check attachment.
Thanks!
Comment #25
sakthivel m commentedProviding updated version of patch #17 as per comment #22 Fixed the submenu jerk issue.
Thanks!
Comment #26
sakthivel m commentedComment #27
djsagar commentedIssue no #22 is resolved after applying patch #26, marking as RTBC.
Video attached for prove.
Comment #28
kiran.kadam911@Sakthivel M Thanks for the patch, it applied successfully. But there is some new issue after applying the patch.
Below are the issue and screenshots:
Solution: Remove line-height for mobile navigation (below 1200) or Apply line-height only for desktop (above 1200). So that total auto height of first level li will be 54 as pe POC site https://olivero-poc.netlify.app/
primary-nav__button-toggleoutline getting cut off.Solution: Update width of
body:not(.is-always-mobile-nav) .primary-nav__button-togglefrom 16px to 21pxRest other things are fine.
Thanks!
Comment #29
sakthivel m commentedProviding updated version of patch #29 as per comment #28, Please verify it.
Comment #30
sakthivel m commentedsorry, #29 wrong patch uploaded
Comment #31
sakthivel m commented#29 wrong patch uploaded.
Providing updated version of patch #30 as per comment #28, Please verify it.
Comment #33
chetanbharambe commentedComment #34
djsagar commentedComment #35
djsagar commentedJust re-rolled the patch for 9.3.
Comment #36
chetanbharambe commentedVerified and tested patch #31.
Patch applied successfully and looks good to me.
Testing Steps:
# Goto: admin/structure/menu/manage/main?destination=/admin/structure/menu
# Create the Menus
# Save it
# Check the results
Expected Results:
# User should see a focus on primary-nav__button-toggle
# User should see open list of submenu at hovering on menu test or dropdown (based on line-height) Please check #28 comment
Actual Results:
# User is not able to see a focus on primary-nav__button-toggle
# User is able to see open list of submenu at hovering on menu test or dropdown but User is able to see the big margin between menu text and the blue line (which is coming once hovering on the menu)
Note: Alignment issue of menu text and plus/minus icon is not part of this issue.
Looks good to me.
Can be a move to RTBC.
Comment #38
sakthivel m commented#35 re-rolled the patch
Comment #39
rinku jacob 13 commentedVerified and tested patch #38
patch applied successfully
Comment #40
mherchelThis seems like a personal opinion, but I honestly don't see why this is a problem.
Changes like this can cascade and affect the layout. If this was an issue (I don't believe it was), it should have been brought up in #3088378: Designs for new front-end theme for Drupal 9.
We're not making arbitrary design changes at this point in development.
Comment #41
rinku jacob 13 commented