react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

Programmatically set scale in imageViewer example

Open jwhscholten opened this issue 8 years ago • 4 comments

I've added a double tap gesture handler to mimic the iOS native photoviewer behaviour but I'm not sure how to update the scale in my doubletap function. Any pointers?

jwhscholten avatar Jun 22 '18 12:06 jwhscholten

That would be a good thing to add to the example. I might take a look at adding it.

DylanVann avatar Jun 25 '18 19:06 DylanVann

I've tried doing this but the TapGestureHandler doesn't have any location for the double tap so I cannot set it to center the zoom on my finger. https://kmagiera.github.io/react-native-gesture-handler/docs/handler-tap.html

louispvb avatar Jun 27 '18 00:06 louispvb

@DylanVann - Did you get a chance to add this to the example?

cedricsandars avatar Nov 10 '19 12:11 cedricsandars

Closing due to no activity.

jgonet avatar Apr 16 '20 11:04 jgonet