Yuliya92 Posted September 3, 2023 Share Posted September 3, 2023 tell me how to remove the delay when scrolling through the numbers See the Pen abQxaWN by mvaneijgen (@mvaneijgen) on CodePen Link to comment Share on other sites More sharing options...
mvaneijgen Posted September 4, 2023 Share Posted September 4, 2023 Hi @Yuliya92 what delay are you talking about? Seems to be working fine. You're also sharing my pen, the best way to learn is to get your hands dirty and try out somethings and then post here with your own code showing what you've tried and if it is not working explain what you think it should do. But all I can see in this pen is when the green triggers meet, the animation starts playing. Which works perfectly in this case. Link to comment Share on other sites More sharing options...
Rodrigo Posted September 4, 2023 Share Posted September 4, 2023 Hi, As Mitchel mentions we're basically trying to guess here. Maybe you mean having all the animations happening without an ease: var animTl = gsap.timeline({ // Set the ease to none on every instance in the timeline defaults: { ease: "none", }, scrollTrigger: { trigger: ".about", start: "top center", end: "bottom center", toggleActions: "restart none none none" } }); Hopefully this helps. Happy Tweening! Link to comment Share on other sites More sharing options...
RobertRobles Posted September 8, 2023 Share Posted September 8, 2023 On 9/4/2023 at 9:07 PM, Rodrigo said: Hi, As Mitchel mentions we're basically trying to guess here. Maybe you mean having all the animations happening without an ease: var animTl = gsap.timeline({ // Set the ease to none on every instance in the timeline defaults: { ease: "none", }, scrollTrigger: { trigger: ".about", start: "top center", end: "bottom center", toggleActions: "restart none none none" } }); Hopefully this helps. Happy Tweening! Thanks for the code, it works. I appreciate you. 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