Parent menu item not clickable when had a child

Created on 24 April 2023, over 1 year ago
Updated 10 May 2023, over 1 year ago

Problem/Motivation

When a menu item is a parent (has children), clicking on the parent menu item expands the dropdown menu as expected, but the parent menu item itself is not clickable. Mousing over the item shows the correct path in the browser status bar, but clicking it does nothing.

I do not if this is this way on purpose or it's a bug. I expect click working on the parent menu item the same way the sub menรบ.

Thanks!

๐Ÿ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡ทArgentina retrovikingo

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

Comments & Activities

  • Issue created by @retrovikingo
  • Status changed to RTBC over 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia ayush0406

    Hi @retrovikingo Go to main navigation, click configure block ,expand "Menu Levels" and set "Number of levels" to unlimited and check "Expand all menu links".
    Then parent menu item expands the dropdown menu as expected.

    Thanks

  • ๐Ÿ‡ท๐Ÿ‡บRussia gulden

    I have the same problem. In js console i see the error, after click main-parent menu, href doesn't work.

    Uncaught TypeError: Cannot read properties of undefined (reading 'setAttribute')
        at Object.onLoad (popper.min.js?v=1.x:4:18925)
        at popper.min.js?v=1.x:4:12587
        at Array.forEach (<anonymous>)
        at new t (popper.min.js?v=1.x:4:12541)
        at l.toggle (bootstrap.min.js?v=1.x:6:17535)
        at HTMLAnchorElement.<anonymous> (bootstrap.min.js?v=1.x:6:19422)
        at Function.each (jquery.min.js?v=3.6.3:2:3003)
        at E.fn.init.each (jquery.min.js?v=3.6.3:2:1481)
        at a._jQueryInterface [as dropdown] (bootstrap.min.js?v=1.x:6:19219)
        at HTMLAnchorElement.<anonymous> (bootstrap.min.js?v=1.x:6:21235)
Production build 0.71.5 2024