#602·waypoints

Waypoint not working properly when using <a href="#my_anchor">

Author: clarkkCreated Dec 26, 2018Updated Aug 23, 2023

When using waypoints in combination with internal anchors like <a href="#my_anchor"> the anchor link is not scolling to the correct point of the <a name="my_anchor">

But if you scroll through the whole document first and trigger all waypoint elements then the anchor links works as expected and scrolls to <a name="my_anchor">..

Somehow the height of waypoint elements doesn't have the correct height before they are triggered

elm.waypoint(function(){
	elm.delay(200).fadeTo(500, 1);
}, {
	offset : '90%'
});

Source: imakewebthings/waypoints