Problem/Motivation

I have a menu with no link, only submenus, and in this theme, the submenus do not show when I hover or click on the top menu entry. The menu entry has the tag.

Steps to reproduce

Create a menu item with submenus but no link.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nunomneves created an issue. See original summary.

tanushree gupta’s picture

Assigned: Unassigned » tanushree gupta

tanushree gupta changed the visibility of the branch 3531877-menu-hovering-fixes to hidden.

tanushree gupta’s picture

Assigned: tanushree gupta » Unassigned
Status: Active » Needs review
StatusFileSize
new45.68 KB

Install the theme > go to block layout > in main navigation block, in menu levels, Set number of display to unlimited and tick the option expand all menu links.
and then apply MR 1.
The menus will now show on hover.
Here is the screenshot I am attaching for the reference.

esha_kundu’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new13.98 KB
new30.6 KB

Hello,
I've followed the steps below to review

  • Installed the theme version 1.0.5 in Drupal versions 10.6.3 and 11.3.3.
  • Added menu links that have submenus.
  • Navigated to Block layout and configured main navigation by enabling the option to expand all menu links, additionally set the number of levels to display option to unlimited.
  • On viewing the menu, I encountered the submenu not being visible on hover or click.
  • Tested by applying the patch in both Drupal versions, and it applied successfully.
  • The submenu became visible, improving the UI.

I've reviewed the MR!1 and it looks good to me.
Attaching the SS for before and after. Moving to RTBC.
Thanks