Hello,
after some changes in menu and make site modular, menu stopped highlighting active item..
{% for module in page.collection() %}
{% set current_module = (module.active or module.activeChild) ? 'active' : '' %}
<li><a class="{{ current_module }}" href="#{{ _self.pageLinkName(module.menu) }}">{{ module.menu }}</a></li>
{% endfor %}
this code showing the menu well, but all the modules are inactive on scrolling or click... how to fix it?