Jump to content
GreenSock

inkfarer

Issue with animating CSS variables upon upgrading to 3.6.0

Moderator Tag
Go to solution Solved by ZachSaucier,

Recommended Posts

Hello,

 

In my application, I have written a timeline that sets an accent color, set in a CSS variable, to a series of rotating colors. I found recently that this has broken in GSAP 3.6.0.

 

I have linked two identical CodePens, bar the GSAP version, to demonstrate the issue.

 

GSAP 3.6.0 issue (Intended behavior on 3.5.1) (codepen.io)

See the Pen bGBrvrE by inkfarer (@inkfarer) on CodePen

See the Pen JjbyLMa by inkfarer (@inkfarer) on CodePen

Link to comment
Share on other sites

  • Solution

Hey Inkfarer and welcome to the GreenSock forums.

 

Thanks for posting! We've actually already fixed this issue in the latest beta:

See the Pen abByGVe by GreenSock (@GreenSock) on CodePen

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