Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can function be passed to transition method in animation_metadata or no? #18959
I'm submitting a...
Looks like I can no longer pass a function to transition method in animation_metadata.ts. Even though animation_metadata.ts still has this comment:
But transition method signature is now:
Can a function still be used to determine if an animation should be run or not? Or are only state changes represented by a string supported now?
Minimal reproduction of the problem with instructions
This is a type definition issue, this commit removed the ability to pass a function to transition method but did not update the comments for that function: 16c8167?diff=split
What is the motivation / use case for changing the behavior?
My existing code that uses the transition method broke after upgrading to 4.3. Would like to know if this feature is supported in 4.3 or not.