Jump to content
Search Community

tl.from & tl.to not working in React "strikethrough on from and to text"

Figo test
Moderator Tag

Recommended Posts

Hello everybody

 

Hoping everyone is having a great day. For some reason unknown to myself the "from" and "to" has a strikethrough on my gsap code in React (e.g. tl.from , tl.to). I can still get the tl.from to animate but not the tl.to. I would appreciate any help or advice please.

 

Edit: i forgot to add "." before my class. Issue has been resolved

Link to comment
Share on other sites

Hey Figo and welcome to the GreenSock forums. I'm glad that you figured out the issue.

 

16 hours ago, Figo said:

Edit: i forgot to add "." before my class

Would you mind adding a brief snippet of code to show the issue and then the solution so others can more easily see if they did the same thing?

  • Like 1
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...