Jump to content


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

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

Link to comment
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.






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