celli Posted December 30, 2019 Share Posted December 30, 2019 Hi, I seem to be getting an error in the console (pasted below) Invalid property onOverwrite set to undefined Missing plugin? gsap.registerPlugin() This happens when my scrollMagic trigger is activated. If you scroll up on the codePen with the console open, you can see it. I removed all of the properties one-by-one, but I still seem to get the error, although it still executes the code. Does anyone know whats wrong with my code or the reason why ? See the Pen gObxdgd by celli (@celli) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted December 30, 2019 Share Posted December 30, 2019 Hey celli, This is an issue with ScrollMagic, not GSAP. A PR has been made but no official release for it yet: https://github.com/janpaepke/ScrollMagic/pull/920 ScrollMagic is not well maintained, we don't recommend using it. You could simply detect the scroll position and fire an animation (without ScrollMagic) in your demo. Or use the Intersection Observer API. 2 Link to comment Share on other sites More sharing options...
celli Posted December 30, 2019 Author Share Posted December 30, 2019 ahh, got it. Okay, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now