Jump to content
Search Community

function based values in keyframes since gsap 3.9

MohsenKBZ test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

hey there. hope you're having a good day

 

I just noticed function based values not working as expected in keyframes. and as my investigations it's started since version 3.9 I guess

I made these 2 pens to show

first pen is on gsap 3.8.0

and the second one gsap 3.9.0. also the same results on 3.10.0 and 3.11.0

btw as far as I know and console.logged :D only a single element that's animating is passed to the function as third parameter, instead of the whole elemnts array 

See the Pen WNJNErV?editors=0010 by Mohsen-Khakbiz (@Mohsen-Khakbiz) on CodePen

See the Pen jOxOLPN?editors=0010 by Mohsen-Khakbiz (@Mohsen-Khakbiz) on CodePen

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