Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
FuryWebdev

Scrub no longer works after adding another scrolltrigger

Go to solution Solved by OSUblake,

Recommended Posts

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

Link to comment
Share on other sites

  • Solution

Welcome to forums @FuryWebdev

 

Check out our Most Common ScrollTrigger Mistakes article. You should not nest ScrollTriggers inside a timeline. 

 

 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×