CSS Issue with Navigation Menu - 4 level+

Created on 13 February 2025, about 2 months ago
Updated 23 February 2025, about 1 month ago

Problem/Motivation

I found a CSS issue when it comes to having 4th level menu items/children.  When you add that fourth level with multiple children, all menu items beneath the parent (3rd level menu item) get pushed down the height of the 4th level children dropdown.  When you have the hover command set, it makes it impossible to click on any third level item below the parent because as soon as your mouse goes below the parent (third level menu item), the menu moves that item back up the menu.  Your mouse is now longer on the menu so it closes  

It would be easier to just show in an example :

  1. Create a menu with with 4 levels as so:
    • Fruit
      • Apple
        • Red Apple
          • Gala
          • Delish 
        • Green
  2. Place you curser on the Red Apple (3rd level).  The fourth level will appear but the green menu item will be pushed down the height of the 4th row.  Note the menu item arrow location for Red Apple its no longer flush.   If you are using the hover option for the menus, it is impossible to click on Green.  As soon as you move your cursor off of Red Apple, its children are no longer loaded and the Green item is moved back up to the menu, thus your cursor is no longer on the menu so it closes.  

Steps to reproduce

  1. Create a menu with with 4 levels as so:
    • Fruit
      • Apple
        • Red Apple
          • Gala
          • Delish 
        • Green

Proposed resolution

The 4th level+ should function just like levels 1-3 for the main navigation in the way children are displayed.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024