Menu item - Active in trail

Created on 18 December 2024, 3 months ago

Problem/Motivation

In order to have my menu items hilighted using the path I installed the Menu Trail by Path module who is using the property active_in_trail of menu items.

Saddly the active class is not added to menu or dropdown item.

For a quick fix I overrided the navbar-nav pattern & dropdown pattern to add the class using item.active_in_trail state.

🐛 Bug report
Status

Active

Version

5.0

Component

Miscellaneous

Created by

🇫🇷France stephane aimar

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024