https://codepen.io/progamerr/pen/gOQpmNj?editors=0010
expected behaviour (without animations) https://codepen.io/progamerr/pen/JjedyXo?editors=0010
Hello all,
I am trying to make scrolltriger snap to the nearest section, but also have an animated sidebar which also uses scrolltrigger with pin.
The issue is that it when the animations are added, it snaps to the bottom of the second element rather than the third one, and once the user scrolls past the second element, the scroll snapping stops. I can't figure out why...
Thanks for your help!