Closed (cannot reproduce)
Project:
Drupal core
Version:
11.x-dev
Component:
Olivero theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2023 at 00:46 UTC
Updated:
31 Jan 2024 at 09:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
mukeysh commentedThe reason for this problem is that the primary-navigation library is only attached to the main menu template, causing the issue. And if there is no link in the main menu then the main menu block is not rendered because of this library is not attached. I think we need to attach library globally to fix this issue.
Comment #4
gauravvvv commentedI have removed the
navigation-primarylibrary and added all the required files toglobal-styling. As when we were loading thenavigation-primarylibrary only on primary menu, when it is not there it was causing the issue. I have attached the patch for same. please reviewComment #5
Harish1688 commentedHi,
Tested the patch '3355510-4.patch' locally, and it applied successfully, resolving the issue and addressing the following point:
1. When the "Primary menu" is empty on a narrow window, the 'secondary menu' becomes visible upon clicking the menu.
Looks for RTBC
Comment #6
smustgrave commented#4 had test failures.
Comment #7
rupeshghar commentedComment #8
shweta__sharma commentedI do not see any issue in the expanding menu block everything looks fine.
See screen-recording - screen-capture-119.mp4
Testing steps:-
Comment #9
sdhruvi5142 commentedComment #11
sdhruvi5142 commentedHi, I've verified and tested this issue on drupal latest version 11.x-dev with applied patch #4 and without applied patch in both scenarios, it is working as expected and found no issue.
Followed below testing steps:
1. Install the Drupal 11.x version
2. Install/Enable the Olivero Theme
3. Now went to Primary menu and secondary menu on narrow screens (Mobile, Ipad and 1024(Laptop))
4. And it is working as expected
Testing Results:
In Narrow screens also the secondary menu was getting expanded and working as expected.
Attaching screenshots for reference
Hence moving to RTBC
Thanks
Comment #12
shweta__sharma commentedComment #13
shweta__sharma commentedBased on #8 and #11 testing moving to status to closed (cannot reproduce)
Thanks