react-native-view-transformer icon indicating copy to clipboard operation
react-native-view-transformer copied to clipboard

[ Feature Request ] - Double-tap zoom-in / zoom-out

Open esutton opened this issue 8 years ago • 4 comments

Similar to iOS Photos, it would be useful to have a feature to zoom-in / zoom-out on the focus of a double-tap location.

A property to not bounce back out, after a pinch-zoom occurs could be useful too.

Thank you for sharing your work! Nice job!

esutton avatar Sep 14 '16 12:09 esutton

@esutton,

You can use https://github.com/ldn0x7dc/react-native-transformable-image (same author) which has double-tap functionality (and uses react-native-view-transformer in background), resulting in very similar functionality to ios Photos.

ikalafat avatar Oct 05 '16 12:10 ikalafat

@ikalafat Perfect! Thank you very much for your time and suggesting this component..

esutton avatar Oct 05 '16 12:10 esutton

No problem! I'm glad that I could help.

ikalafat avatar Oct 05 '16 13:10 ikalafat

https://github.com/ldn0x7dc/react-native-transformable-image as the name suggests, supports images.

It does not work on non-images such as a VictoryChart.

https://github.com/FormidableLabs/victory-native

esutton avatar Dec 21 '16 19:12 esutton