Jump to content
GreenSock

robbue

staggerTo/staggerFromTo IE8 bug

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

Yes, I know - IE8 is terrible, but clients...

 

Having a problem in IE8 with staggerTo and staggerToFrom:

See the Pen ec43f0a3af5eff198df7f0bdd72edd1e by robbue (@robbue) on CodePen

 

 

Also having a problem with child elements.

 

Dosent work:
.to('#nav li', 2, { opacity: 0 });
This works:
.to('#nav', 2, { opacity: 0 });
 

Version: 1.9.8 (jQuery is also included)

Link to comment
Share on other sites

Hmm...I just tested in IE8 and all of it worked (none of the code you provided broke). Beware that codepen itself doesn't work in IE8, but that has nothing to do with GSAP. I tried your raw code in my own HTML doc and it worked great in IE8. The codepen thing breaks because of some error it's reporting in jquery.min.js. 

 

If you're still having trouble, would you mind just zipping up a simple HTML doc that demonstrates the issue and posting it here?

  • Like 1
Link to comment
Share on other sites

Must have been something else wrong in my original timeline setup (not the pen), because as you're saying: it works. And I didn't know CodePen was broken in IE8.

 

Sorry for the inconvenience!

  • Like 1
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.
×