Menu icon Foundation
Magellan Doesn't Reach Last Child

I've run into a problem where the last section of my page is much shorter in height than the others. As a result, the top of that section doesn't come anywhere close to the top of the viewport - so Magellan doesn't trigger a highlight of the last-child of the nav list.

Any ideas?

Magellan

I've run into a problem where the last section of my page is much shorter in height than the others. As a result, the top of that section doesn't come anywhere close to the top of the viewport - so Magellan doesn't trigger a highlight of the last-child of the nav list.

Any ideas?

Rafi Benkual about 4 years ago

If you are on a short page, using magellan may be overkill. There is no way to have it trigger until it reaches the destination, other than moving the destination higher up the page.