menu.html.twig - Child menu in drop down

Created on 1 November 2023, over 1 year ago

Problem/Motivation

In the menu block setting if I set to true expand every menu link I get all the child links displayed. If I set it to false, the children are not loaded into the code
In the twig file the children are not loaded through the css code I can't display them with the hover

Steps to reproduce

Proposed resolution

I tried this cidce by leaving the checkbox setting to false
{% if items %}
{% if menu_level == 0 %}

    {% else %}
      {% endif %}
      {% for item in items %}
      {% set is_collapsed = true %}

      but the is_collapsed setting doesn't work to be able to load children without displaying them

      Remaining tasks

      User interface changes

      API changes

      Data model changes

    Feature request
    Status

    Active

    Version

    1.0

    Component

    Code

    Created by

    🇮🇹Italy Gae58

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

    Comments & Activities

    Production build 0.71.5 2024