MohsenKBZ Posted September 2, 2022 Share Posted September 2, 2022 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 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 More sharing options...
Solution GreenSock Posted September 3, 2022 Solution Share Posted September 3, 2022 Great catch, @MohsenKBZ! Sorry about the confusion there. It should be resolved in the next patch which you can preview at https://assets.codepen.io/16327/gsap-latest-beta.min.js  Better? 1 Link to comment Share on other sites More sharing options...
MohsenKBZ Posted September 4, 2022 Author Share Posted September 4, 2022 awesome! thanks for the quick fix 👊  Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now