I need my items to animate in when they become visible on the page, but also I want to be able to control the opacity of the item as they leave the viewport.
This works when I remove the second scroll trigger but I obviously lose my ability to animate when they enter the viewport.
Is there anything obvious I am doing wrong or missing?
Scrub no longer works after adding another scrolltrigger
in GSAP
Posted
Hey,
I need my items to animate in when they become visible on the page, but also I want to be able to control the opacity of the item as they leave the viewport.
This works when I remove the second scroll trigger but I obviously lose my ability to animate when they enter the viewport.
Is there anything obvious I am doing wrong or missing?
Any help is appreciated.
See the Pen xxXxEdz by studiofury (@studiofury) on CodePen