Hello guys,
all menu items/links here on desktop get initialized as ‘current-menu-item’ and change only when scrolling beyond the nav-bar and current items depend on the scroll positions. That causes the links to look all like 'current-menu-item’s up to that point.
I’ve read this thread https://theme.co/apex/forum/t/one-page-navigation-all-the-menu-items-are-highlighted-on-load/46761/2 but it suggests to add another navigation in order to work around this bug. I’d really like my menu to work from all pages, e.g. separate pages from the footer like terms & conditions, which require to have the url before the anchor url/#anchor. Would you mind fixing that bug and adding that last tiny bit of logic please ?
Bringing that in order you wouldn’t need this highly confusing option anymore either, you could simply autodetect anchor links for my 5 cents. All this option seems to do is working around the mentioned bug, but unfortunately only for non-url anchors, so I guess you could as well just enhance this function instead of rewriting it generically which should be your first choice.