You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm working on PixiJS integration integration with React 16 called react-pixi-fiber. I love the way Animated works and I think the use cases it tries to solve perfectly fit the React-Pixi world I am in currently.
Everything works as expected when I use Animated.Value, however I have noticed that when I try to use Animated.ValueXY directly (i.e. not referring to its x or y properties) it does not animate unless there's already another prop being animated.
A picture is worth a thousand words though, so it's easier to understand by seeing it in action.
The real reason is that maybeVectorAnim when converting from AnimatedValueXY to a parallel of two AnimatedValue is not passing the children from compound XY to its single X and Y counterparts.
I am not sure if it is intended or not, but it's easy to fix by children assignment, so that:
Description
Hey, I'm working on PixiJS integration integration with React 16 called react-pixi-fiber. I love the way Animated works and I think the use cases it tries to solve perfectly fit the React-Pixi world I am in currently.
Everything works as expected when I use
Animated.Value
, however I have noticed that when I try to useAnimated.ValueXY
directly (i.e. not referring to itsx
ory
properties) it does not animate unless there's already another prop being animated.A picture is worth a thousand words though, so it's easier to understand by seeing it in action.
Steps to reproduce
rotation
).scale
.Additional info
The text was updated successfully, but these errors were encountered: