Dropdown top link not working

Created on 10 August 2023, over 1 year ago

Problem/Motivation

Upgrading to Drupal 9 and using Aegan

Steps to reproduce

Click on top link of a dropdown menu in the main menu of the top navigation:

https://d9.mtryrapecrisis.org/

Code changes

Located file menu--main.html.twig and string "dropdown-toggle"
Tried changing the code in 2 ways, neither of which worked, after clearing cache:

1.

  • {# {{ item.title }} #}
    {# MCRCC: Remove dropdown-toggle, so that the top level link will work #}
    {{ item.title }}
    {{ menus.menu_links(item.below, attributes, menu_level + 1) }}
  • 2.

  • {# {{ item.title }} #}
    {# MCRCC: Remove dropdown-toggle, so that the top level link will work #}
    {{ item.title }}
    {{ menus.menu_links(item.below, attributes, menu_level + 1) }}
  • Any suggestions?

    πŸ’¬ Support request
    Status

    Active

    Version

    1.1

    Component

    Code

    Created by

    πŸ‡ΊπŸ‡ΈUnited States redthruviolet

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

    Comments & Activities

    Production build 0.71.5 2024