Jump to content
GreenSock

HadiH

Text Animation Stuck (in normal display, but not while inspecting)

Go to solution Solved by HadiH,

Recommended Posts

  • Solution

Hi! I tried animating the 'left' value of a absolute-positioned long and big text. The result I got is the animation stuck at the first word until the last word about to exit the screen. The weird thing is the animation runs fine when I'm hovering the element in inspect mode. Can I get some help? Thanks.

 

Edit: Seems like it's a browser problem? I usually use Firefox, but the animation seems to run well in Chrome.

 

Fix: It worked in Firefox as well when i changed to animate xPercent instead.

See the Pen vYJoZXV by hadiihartono (@hadiihartono) on CodePen

  • Like 1
Link to comment
Share on other sites

@HadiH so are you all set? Did you still have a GSAP-related question we could help with or did you resolve things? 

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