Code Monkey home page Code Monkey logo

Comments (11)

DylanVann avatar DylanVann commented on May 29, 2024 3

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

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

from react-native-fast-image.

dotansimha avatar dotansimha commented on May 29, 2024 2

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

from react-native-fast-image.

 avatar commented on May 29, 2024 2

Try this guys https://github.com/oblador/react-native-pinchable, works brilliantly for zooming like instagram

from react-native-fast-image.

tikkichan4 avatar tikkichan4 commented on May 29, 2024

+1, Seeking for this feature too !

from react-native-fast-image.

pewh avatar pewh commented on May 29, 2024

+1

from react-native-fast-image.

Najibsaurus avatar Najibsaurus commented on May 29, 2024

+1

from react-native-fast-image.

hoorsa avatar hoorsa commented on May 29, 2024

+1

from react-native-fast-image.

habibi-dev avatar habibi-dev commented on May 29, 2024

+1

from react-native-fast-image.

bobber205 avatar bobber205 commented on May 29, 2024

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.

from react-native-fast-image.

OmarBasem avatar OmarBasem commented on May 29, 2024

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

from react-native-fast-image.

salhotra avatar salhotra commented on May 29, 2024

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 :(

from react-native-fast-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.