Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
maximoou

IE 11 error unable to set property "cssText" of undefined or null reference

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

Hey folks!

 

I got this strange error only in IE/Edge and Windows Phones.

Safari, Firefox and Chrome works just fine.

 

check the site here: www.grace-restaurant.at

 

when i animate the content it outputs me the following error into the console multiple times:

 

unable to set property "cssText" of undefined or null reference.

 

so first i thought, theres something wrong with the selector, i sometimes used a jquery selector inside using the method .not().

so i changed that, but the errors still occur.

 

then i thought maybe its the css plugin so i deleted the use of css:{} gsap method where its not necessary.

 

stil doestn work. I really have no clue what it could be.

Of course i'm not assuming its a gsap bug or problem, but isn't it weird, that it only occurs in IE and Windows Phone?

 

Maybe anyone has a clue what this could be?

 

thanks in advance

Share this post


Link to post
Share on other sites

hello maximoou, and Welcome to the GreenSock Forum!

 

Can you please provide a limited codepen demo example?  It will be hard to test without testing your code live.

 

This way we can test your code in a live editable environment

 

Here is a video tut on how to setup a limited codepen example.

 

 

Thanks!

 

:)

  • Like 2

Share this post


Link to post
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

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. 


  • Recently Browsing   0 members

    No registered users viewing this page.

×