wix-incubator / react-native-interactable

Experimental implementation of high performance interactable views in React Native
MIT License
5.18k stars 516 forks source link

Handle gestures [question] #80

Open undershot opened 7 years ago

undershot commented 7 years ago

Is it possible to handle gestures like PanResponder in RN without children moving? Only catching a moves. It will be great feature, because default PanResponder did not support native driver. Thanks.

Talor-A commented 7 years ago

hi any word on this? I want pinch-zoom functionality from react-native-gesture-responder (same API as panResponder) but I can't get the two to cooperate.

isaachinman commented 6 years ago

@Talor-A Did you ever figure out a way to use pinch-zoom with this library? I'm looking to create a custom image-cropping tool...

Talor-A commented 6 years ago

@isaachinman no couldn't ever get it

isaachinman commented 6 years ago

I'd imagine you can use react-native-gesture-responder and simply scale the react-native-interactable dimensions based on the pinch and previousPinch values. Should be extremely easy.