ldn0x7dc/react-native-view-transformer

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

esutton opened this issue · 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,

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 Perfect! Thank you very much for your time and suggesting this component..

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

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