Jump to content
GreenSock

martis

.from() not working latest shockingly green

Moderator Tag
Go to solution Solved by PointC,

Recommended Posts

Using next (react 18) and for some reason .from() is not working on refs and #ids... .to() is working just fine. Any suggestions?

 

It transforms the value to the .from() but does not animate back to the original value.

Link to comment
Share on other sites

  • Solution

Sounds like this here:

Happy tweening.

:)

 

  • Like 2
Link to comment
Share on other sites

That was it. How annoying!

Link to comment
Share on other sites

Indeed, SUPER annoying, right? It caught a lot of people off-guard. Totally unrelated to GSAP. 🤕

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