Jump to content
Search Community

Text animation is not smooth (Locomotive scroll+GSAP+scrolltrigger)

thefrontendfreak test
Moderator Tag

Recommended Posts

Animation not working perfectly. The main goal is to achieve smoothness. But I am not able to getting it. When you scroll down to the page animation feels like laggy or working a bit slowly specially if you scroll faster you will see it stuck into the page sometimes. Please help me on this one. I am really stuck into this from last couple of days. 

See the Pen wvygmBR by thefrontendfreak (@thefrontendfreak) on CodePen

Link to comment
Share on other sites

Yep, Cassie is right. Also, you're putting a LOT of pressure on the browser by animating all those characters individually simultaneously. You may want to consider setting will-change: transform on those. And you're using invalid eases on several of your tweens. 

 

It's typically better to use <div> elements too because I think most browsers won't render transforms on inline elements. 

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...