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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pivica created an issue. See original summary.

pivica’s picture

Status: Active » Needs review
FileSize
707 bytes

Here is a patch.

  • pivica committed a875c90 on 8.x-1.x
    Issue #3067033 by pivica: Dropdown menu item with no-link CSS class...
pivica’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.