kku98057 Posted April 13, 2022 Share Posted April 13, 2022 hi. Thank you for always helping me As soon as scrubbing is finished, I want pin to be connected, but it doesn't work well Help me. See the Pen KKZxqjX by kku98057 (@kku98057) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted April 13, 2022 Share Posted April 13, 2022 That's because you've got 2 ScrollTrigger-based animations affecting the SAME element and by default they render immediately. So your .from() sets the yPercent to 300 and then when you create your .to() on the same element, it reads the current value as 300 and it's animating to 300 so it looks like it doesn't move. Just set immediateRender: false on that 2nd one. See the Pen dyJqzOP?editors=1010 by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
kku98057 Posted April 21, 2022 Author Share Posted April 21, 2022 @GreenSock oh ! In this way.I'm good! I am most grateful. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now