As you said, currently the page follows it's natural scrolling, that is because I've failed at implementing gsap's ScrollTrigger functionality.
const tl = useRef(
gsap.timeline({
defaults: { ease: "none" },
})
);
useEffect(() => {
tl.current.to(linkRef.current, {
scrollTrigger: {
trigger: containerRef.current,
horizontal: true,
start: "left right",
end: "left left",
},
});
}, []);
That was my latest attempt, but it doesn't change anything.