Jump to content


.clear(); method not working....

Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello, i am using splittextfield to alpha in a headline, character by character before alpha- ing out again.

This is on a timeline and when it reaches the end i call the method tl.clear();


This empties the whole timeline in IE11, and nothing appears second time round - it works fine on chrome etc....

If i don't use tl.clear();, I can use tl.restart();, but this does not restart the tweens properly. I get letters faded half in second time round.

Again - this works fine on Chrome....


Has anybody experienced this before?


Thanks very much,



Jonny :)


Link to comment
Share on other sites

Tough to say without seeing it.


To get the best help please:


  1. visit: http://codepen.io/GreenSock/pen/rApJv
  2. press the FORK button
  3. edit the code with the least amount of HTML / CSS / JS to replicate the problem
  4. save the pen
  5. provide us the link

You should not have to clear a timeline in order to replay it again. restart() should work just fine. I'm sure once we see what is happening we can figure it out.



  • Like 2
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.