Problem/Motivation

The .active-trail CSS class is not put on the .sf-clone-parent elements.

Steps to reproduce:

  1. On a mobile emulator
  2. Open the menu
  3. Click on a .sf-clone-parent element (the first child os a submenu)
  4. Inspect the code of the menu, there is no .active-trail on the .sf-clone-parent (but the link inside has the .active class)

Proposed resolution

Add the active-trail class on .sf-clone-parent when the link inside is active (also think about the context enabled link)

Remaining tasks

Fix it ;)

User interface changes

Yes, if you use the .active-trail class to style your menu.

API changes

No.

Data model changes

No.

Comments

DuaelFr created an issue. See original summary.

lobsterr’s picture

Status: Active » Closed (outdated)