Issue with current-menu-item when section is no longer visible

The current-menu-item is not removed when the "active" section is no longer visible. This issue happens in our homepage:


We have two anchors, case studies section and work section. We want to keep One Page option because we want smooth scrolling to those anchors.

My issue is the same as the below link but I want to keep the "active" menu item feature:

Comments

Sign In or Register to comment.