Closed mwernimont closed 8 years ago
I think there is a way to change the trigger from the center to the top which should achieve what you are trying to do with offset.
Try playing around with the triggerHook and remove the offsets.
@jiwalker-usgs Triggerhook works as it should, don't know why yesterday i thought it was off on mobile, but thanks for the tip!
@jiwalker-usgs Is this a stupid fix?
The issue was the offset for the desktop was too big for the mobile phones and the nav was highlighting the numbers too late in the scroll or highlighting the wrong number for the section...so thought having an if statement to check screen size and then give the offset would be a good solution, but I'm no Walker.