Jump to content

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

GSAP 3 warnings?

Recommended Posts



How do I get rid of all the warnings in the console? For example when tweening custom object properties, setting overflow etc.


GSAP target  not found. https://greensock.com

Invalid overflow tween of hidden Missing plugin? gsap.registerPlugin()

Link to comment
Share on other sites

If you want to stop GSAP from warning you when you create tweens of targets that don't exist, you can do this: 


But the invalid tween isn't suppressible, and I wouldn't recommend it either because it means you're literally trying to tween properties that don't exist on the target. I'd strongly recommend fixing your code rather than trying to suppress the warnings. 


It'd probably help if you provided a reduced test case, like in codepen, if you're still having trouble. We'd be glad to help. It's just tough to troubleshoot blind. 

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