Jump to content
Search Community

Snapping on scrollTrigger stopped in the middle

james930go test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

  • Solution

It's snapping correctly - you just set up your animations in the timeline in a way that doesn't line up with those snapping points. You basically told snapping to space the points evenly across the timeline but your animations are spread differently. Like the last one doesn't fade out. And there's a fade-in at the start. I think it'd be cleaner to just drop a label into the key spots where you want it to snap, and then use something like snap: "labelsDirectional": 

See the Pen oNeRLyK?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Does that clear things up? 

  • Like 4
Link to comment
Share on other sites

4 hours ago, GreenSock said:

It's snapping correctly - you just set up your animations in the timeline in a way that doesn't line up with those snapping points. You basically told snapping to space the points evenly across the timeline but your animations are spread differently. Like the last one doesn't fade out. And there's a fade-in at the start. I think it'd be cleaner to just drop a label into the key spots where you want it to snap, and then use something like snap: "labelsDirectional": 

 

 

 

Does that clear things up? 

Thanks for the quick reply,
Yes, I understand now, Thank you so much for helping me out

  • Like 1
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...