Download & Extend

Active trail class getting set based on a disabled menu item

Project:Nice Menus
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I have had a problem with the active-trail class appearing on menu items it shouldn't.

I have a menu parent with a child menu item that is
The menu item is disabled but when I go to the front page the parent menu is given the active-trail class anyway.

Disabled menu items should not be checked when looking to mark the active trail.

Comments

#1

Oops, I put the front tag in and it got filtered, here is my bug report again:

I have had a problem with the active-trail class appearing on menu items it shouldn't.

I have a menu parent with a child menu item that links to the front page
The front page menu item is disabled but when I go to the front page the parent menu is given the active-trail class anyway.

Disabled menu items should not be checked when looking to mark the active trail.

#2

Status:active» closed (duplicate)

This looks like a dupe of #424148: active-trail should be visible for horizontal children please correct me if I'm wrong. There's more info over there, so I'm closing this one.