Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Rinku Samanta

Animation not fully completing on scrolltrigger

Recommended Posts

Hi Guys,
I am trying to implement some scroll animation on react but there seems to one issue I am facing where animation do not fully complete when scrolled a bit too fast.
Here is codesandbox url(sorry i tried to do it on codepen but importing package makes thing too complicated there)
https://codesandbox.io/s/gallant-sid-24hsp?file=/src/styles.css:0-332

Can someone check and point me out on what am I missing or doing wrong.

Link to comment
Share on other sites

Hi Rinku,

 

The once is messing with it because it kills the trigger once you scroll past it, thus, no more scrubbing. Try implement some of the solutions in this thread.

 

 

  • Like 3
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.
×