React-native-fast-image: Support pinch to zoom, panning of images

Created on 7 Sep 2017  路  10Comments  路  Source: DylanVann/react-native-fast-image

If you are looking for this features, please emoji vote this comment instead of +1

Most helpful comment

I think it's out of the scope of this package.

https://www.npmjs.com/package/react-native-image-pan-zoom looks pretty great.

All 10 comments

+1, Seeking for this feature too !

+1

+1

As a workaround, you can use react-native-image-pan-zoom package. it supports a third-party Image components.

+1

+1

I think it's out of the scope of this package.

https://www.npmjs.com/package/react-native-image-pan-zoom looks pretty great.

Would love this feature built in natively.

The pan zoom library at least for me so far in "compatible" with fast image but it's a bit hard to manage the gestures for both using a carousel (like react-native-swiper) and fast image.

Would be great to have zooming natively. Zooming on JS side is extremely slow, especially with long list of images.

One solution to this is to have a zoomable parent View. Zooming and caching both will work. This can be implemented using react-native-gesture-handler or a couple of well-maintained packages are also available.

But, considering a very common scenario where multiple images are shown inside a Modal > ViewPager (swipeable), zooming will work just fine here. But if we want to drag around the zoomed image, pan handler of the swiper will take charge. So in this very common scenario, native zooming will do the job. This package https://github.com/alwx/react-native-photo-view does exactly this, but there is no caching available there :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kmilodenisglez picture kmilodenisglez  路  3Comments

StiffFy picture StiffFy  路  3Comments

kkarmalkar picture kkarmalkar  路  4Comments

bhuvin25 picture bhuvin25  路  3Comments

jslok picture jslok  路  3Comments