Jump to content
Search Community

My React Login Form animation does not works sometimes

Manas Telavane test
Moderator Tag

Recommended Posts

Welcome to the forums, @Manas Telavane

 

A few comments: 

  1. Please make sure you get the permission of the original author of that form, Darin Senneff. https://codepen.io/dsenneff/details/NyVrzB/2c3e5bc86b372d5424b00edaf4990173 
  2. You definitely seem to be missing some React-related things (unrelated to GSAP), like useEffect() and a cleanup function, etc. We don't have the resources to analyze all your code or convert it to React for you, but this article should help a lot:
  3. You're using the very old syntax, like TweenMax. I'd strongly recommend updating to the more modern GSAP 3 syntax (almost 4 years old now). There's a migration guide here: 
  4. Don't forget that MorphSVGPlugin is a members-only benefit for Club GreenSock members ("Shockingly Green" and higher). The trial version works on CodePen for free as much as you want, but once you go to deploy it on your site, you'll definitely need to get an official copy by signing up. https://greensock.com/club

Good luck! 

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.
×
×
  • Create New...