joycode Posted August 28, 2020 Share Posted August 28, 2020 Hello guys, yesterday I created a topic and managed to set an animation such as this one animation such as this one: https://codepen.io/GreenSock/pen/YzygYvM. But today I get this error: "ERROR TypeError: Cannot read property 'style' of undefined" when trying to build the project. I think it comes from ScrollTrigger but I'm not sure how to fix it and I don't know why it worked yesterday but it doesn't work today. See the Pen YzygYvM by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
joycode Posted August 28, 2020 Author Share Posted August 28, 2020 Can anyone test ScrollTrigger using Angular. I found that I'm not able to register it but I'm able to register f.e ScrollToPlugin Link to comment Share on other sites More sharing options...
ZachSaucier Posted August 28, 2020 Share Posted August 28, 2020 Hey joycode. ScrollTrigger works great in Angular when you get it setup properly Please create a minimal demo of your issue if you'd like our help debugging. 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