Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We are supporting `no-link` CSS class for menu items and with this CSS class we can basically render menu item as a text (instead of a link). The probem is that for menu items in navbar we are still attaching Bootstrap Dropdown properties for expanded menu items. This will result in registering various Bootstrap Dropdown events for no-link menu item and we do not want this.
Proposed resolution
Do not attach Bootstrap Dropdown properties for navbar menu items with `no-link` CSS class.
Comment | File | Size | Author |
---|---|---|---|
#2 | no-link-navbar-menu-item-should-not-have-dropdown-properties-3067033-2.patch | 707 bytes | pivica |
Comments
Comment #2
pivica CreditAttribution: pivica at MD Systems GmbH commentedHere is a patch.
Comment #4
pivica CreditAttribution: pivica at MD Systems GmbH commentedCommitted.