id and data-magellan-target specified.data-magellan containing <a> links to the ids, but don't put them in the same order as the sectionsThe correct link should get the active class.
The link corresponding to the order of the sections got the active class instead.
I have the same issue but another scenario. If I have four links and for reasons the third link does not have corresponding id in the page.
When scrolling down to the forth section the third link is the one getting active anyway.
My issue would be fixed if this issue was fixed I think. My work around was listening to the 'update.zf.magellan' event and manually add and remove the active class as I know when I want what link to be active
@colin-marshall do you have any thoughts on this one?
@GustavSt I've updated my Codepen to also demonstrate your scenario.
Having two nav links to the same target doesnt work as expected either. Id like for both links to get the active class.
@andycochran @GustavSt
Hi guys. Made a PR for this case. https://github.com/zurb/foundation-sites/pull/9066