Jump to content
Search Community

fromTo conflict with new gsap code

gweatherson test
Moderator Tag

Recommended Posts

Have a fade on scrolltrigger that is working well, trying to add a cursor that functions on enter of certain elements.

 

These are working perfectly alone. When added together, line 13 causes the cursor (.ball) to not be in position. The cursor is far above the entered element.

 

Commenting out line 13 fixes the cursor, but then of course the fades are not working. Is there something simple I'm missing?

See the Pen RwLWKQK?editors=1010 by gweatherson (@gweatherson) on CodePen

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.
×
×
  • Create New...