- Issue created by @benjifisher
- 🇮🇳India mukeysh
The 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.
- Status changed to Needs review
over 1 year ago 3:54am 7 July 2023 - last update
over 1 year ago Build Successful - 🇮🇳India gauravvvv Delhi, India
I have removed the
navigation-primary
library and added all the required files toglobal-styling
. As when we were loading thenavigation-primary
library only on primary menu, when it is not there it was causing the issue. I have attached the patch for same. please review Hi,
successfully 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
- Status changed to Needs work
over 1 year ago 2:58pm 7 July 2023 - Assigned to rupeshghar
- Status changed to Needs review
10 months ago 8:52am 25 January 2024 I do not see any issue in the expanding menu block everything looks fine.
See screen-recording - screen-capture-119.mp4
Testing steps:-
- Latest Drupal 11
- Primary menu is empty
- Switch on below 1200px screen
- Click on hamburger menu
- Secondary menu is expanding
- Assigned to sdhruvi5142
- Status changed to RTBC
10 months ago 10:08am 25 January 2024 - 🇮🇳India sdhruvi5142
Hi, 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 expectedTesting Results:
In Narrow screens also the secondary menu was getting expanded and working as expected.
Attaching screenshots for reference
Hence moving to RTBC
Thanks - Issue was unassigned.
- Status changed to Closed: cannot reproduce
10 months ago 9:43am 31 January 2024 Based on #8 and #11 testing moving to status to closed (cannot reproduce)
Thanks