Great demo for smooth scrolling without a 3rd party library!
However as @existentialdread mentioned there is a problem with pinned elements.
I tried to do it following the demo: https://codepen.io/ranonymus/pen/gOLPZaM
Somehow the pinned element cant follow container, or if it does its not smooth, it "lags".
Smooth scroll to whole page and trigger animations
in GSAP
Posted
Great demo for smooth scrolling without a 3rd party library!
However as @existentialdread mentioned there is a problem with pinned elements.
I tried to do it following the demo: https://codepen.io/ranonymus/pen/gOLPZaM
Somehow the pinned element cant follow container, or if it does its not smooth, it "lags".
Is there a way to fix this?