Share Posted June 24, 2018 Recently was trying to replicate the above codepen in a react component with gsap and the animation completely fails, it doesn't even start or trigger. Can someone help me look for bugs? The codesandbox link is here : https://codesandbox.io/s/402ov4lyr7 Please Help. See the Pen ELWOdM by adityabhavikatti (@adityabhavikatti) on CodePen Link to comment Share on other sites More sharing options...
Share Posted June 24, 2018 I didn't have much time to look, but it seems like your "DOMContentLoaded" handler never even gets called, so none of the code in there executes (and that's obviously where all the animation code is). 2 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