Here is a working example of a vertical section scroll and horizontal scroll snap with anchor navigation using GSAP’s scrolltrigger plugin.
DEMO
See the Pen Anchor navigation to ScrollTriggered section by Puneet Sharma (@webdevpuneet) on CodePen.
Here’s another example by Greensock
See the Pen Navigation links compatibility – ScrollTrigger by Puneet Sharma (@webdevpuneet) on CodePen.
Here’s another example
See the Pen Jumping between sections – ScrollTrigger by Puneet Sharma (@webdevpuneet) on CodePen.