Navigation “is_active” method doesn’t return true for subpaths past a node.
|Assignee:||Stephen Burrows||% Done:||
Given a MultiView and a navigation that points to a subpath of the node referencing that view, the navigation item will not correctly appear as “active”.
#1 Updated by Stephen Burrows almost 2 years ago
This is a design issue. If an item points to a node, it will not be considered active for any subpath beyond that node. The reason for this is simple: There may be other items in the navigation which are closer to the target and should thus be considered 'active' instead. However, the item has no way of knowing this without looking around - with the current algorithm, at least.
The entire concept of 'active' vs 'inactive' needs to be rethought, as well as how this is determined and when.