ScrollTrigger with position sticky not working on resize in GSAP Posted July 26, 2021 Hello guys, this is my first time here. I have a problem with the code below: the animation of the "sticky" div restarts on every kind of page resize. Do I have to remove the "sticky" and use pinning instead or there is a way to fix this? See the Pen oNWpawx by ivantacca (@ivantacca) on CodePen
ScrollTrigger with position sticky not working on resize
in GSAP
Posted
Hello guys, this is my first time here.
I have a problem with the code below: the animation of the "sticky" div restarts on every kind of page resize.
Do I have to remove the "sticky" and use pinning instead or there is a way to fix this?
See the Pen oNWpawx by ivantacca (@ivantacca) on CodePen