Closed CraigClark closed 6 months ago
@CraigClark resolved this with CSS. The active
class was being applied but was not correctly styled. The selector needs to exclude elements with a child with active
since some ancestors of the active link may have this class. It is not clear why.
Issue opened when working on this: https://www.drupal.org/project/book/issues/3445783
OP timer
https://openplus.monday.com/boards/4092908516/pulses/6589190503
Describe the bug
When navigating the documentation, the
active
class is not being applied at all page depths.To reproduce
Steps to reproduce the behaviour:
active
class is applied to Administration root page, two levels aboveExpected behaviour
Whatever page I am on in the documentation, the corresponding menu item in the side bar has the
active
classAdditional context
This problem does not present itself until you get three levels deep into the book navigation
In the example above, in the side bar if you follow click on navigation items in this order
Administration > Working with taxonomies > Information schedule
active
classactive
classactive
class, but the grandparent Administration will haveactive