bu-navigation
bu-navigation copied to clipboard
has_children class exists for a parent when all children are actually hidden
For the navigation widget, we noticed that has_children
class for a navigation li
is added even when all the children are hidden (visibility hidden). It seems like the widget is only checking if there are children and then adding has_children
class. It should add has_children
only if the parent has any visible children.