Jump to content
Search Community

modifiers with vars

tailbreezy test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Thanks for the demo. It clearly demonstrates the issue.  I don't have an answer for you other than "maybe css vars are handled differently"... which isn't helpful. 😁. I'm sure @GreenSock will be able to give you a straight answer.

 

Hopefully you can wait until tier 1 support resumes on Monday. Rest assured your issue will be addressed properly.

 

 

 

 

  • Like 2
Link to comment
Share on other sites

On 4/10/2021 at 11:14 PM, Carl said:

Hopefully you can wait until tier 1 support resumes on Monday. Rest assured your issue will be addressed properly.

 

 

Hope so.

I am wondering why css vars are excluded from being passed to modifiers. What would be a work around if that is the case? 

Link to comment
Share on other sites

  • Solution

Sorry about the delay - was traveling. 

 

Yes, this was a bug that should be resolved in the next release which you can preview at https://assets.codepen.io/16327/gsap-latest-beta.min.js (you may need to clear your cache). 

 

As for a workaround, it should be very easy to use an onUpdate: 

See the Pen GRrxpZw?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Does that clear things up? 

  • Like 2
  • Thanks 2
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...