react-native-gesture-recognizers icon indicating copy to clipboard operation
react-native-gesture-recognizers copied to clipboard

Transform with key of "translateX" must be a number:

Open ssomnoremac opened this issue 8 years ago • 6 comments

Using the pannable example I'm getting this:

Transform with key of "translateX" must be a number:
 {"translateX":
     {"_children":[],"_value":0,"_startingValue":0,"_offset":0,"_animation":null,"_listeners": {}}
 }

ssomnoremac avatar Jul 11 '16 23:07 ssomnoremac

@ssomnoremac Originally this was just a proof of concept - I haven't tested it against any of the new react native versions, since I currently have no spare time to work on it. So I'm not sure when/if I get the time to look into this ;/

johanneslumpe avatar Jul 12 '16 05:07 johanneslumpe

+1

bendellarocco avatar Dec 28 '16 22:12 bendellarocco

your view must be set to Animated.View

zhiyingzzhou avatar Sep 19 '17 16:09 zhiyingzzhou

your view must be set to Animated.View

Thank you very much!

yddmgirl avatar Jul 26 '19 03:07 yddmgirl

your view must be set to Animated.View

Thank you!!!

rknyra avatar Oct 04 '20 15:10 rknyra

What if I do have my view as an Animated.View, but I'm still getting this error?

faz919 avatar Feb 16 '22 09:02 faz919