When adding a view to the menu via the Views UI, I am having an issue where in_active_trail does not appear to be showing true.

When attaching the same view via the main menu, in_active_trail appears to be available which results in active class being added to list item and it renders correctly?

Comments

2dareis2do created an issue. See original summary.

abhaypai’s picture

For a bug report we need steps to reproduce the bug.

2dareis2do’s picture

@abhaypal

1. Set up a view
2. Add it to the main menu via the Views UI
3. On front end active class should be added to a href and list item
4, When walking through the code, notice how in_active_trail is set to false even it is currently in_active_trail

lendude’s picture

Status: Active » Closed (duplicate)

This sounds like a duplicate of #3359511: [regression] missing menu active trail since Drupal 9.5.9, if you feel like this is addressing a different issue please feel free to reopen this

2dareis2do’s picture