Comments (11)
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.
As a workaround, you can use react-native-image-pan-zoom
package. it supports a third-party Image
components.
from react-native-fast-image.
Try this guys https://github.com/oblador/react-native-pinchable, works brilliantly for zooming like instagram
from react-native-fast-image.
+1, Seeking for this feature too !
from react-native-fast-image.
+1
from react-native-fast-image.
+1
from react-native-fast-image.
+1
from react-native-fast-image.
+1
from react-native-fast-image.
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.
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.
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)
- Support for iOS 17 HOT 20
- defaultSource not working HOT 2
- Need an alternative, this repo is dead HOT 15
- Error due tintColor HOT 2
- Is it abandoned? HOT 9
- Crashes the app, as IOS has deprecated UIGraphicsBeginImageContextWithOptions from IOS 17. HOT 5
- Critical WebP 0-day security CVE-2023-4863 HOT 3
- Gif in ios HOT 1
- react-native 0.73 [FFFastImageView setOnClick:]: unrecognized selector sent to instance HOT 3
- Android FastImage keeps refreshing on background to foreground, iOS is fine. HOT 3
- Android onError is not called when uri is empty or null
- Kotlin support for the current React native version
- "FastImageView" was not found in the UIManager HOT 3
- Update to SDWebImage to 5.18.7 or higher for privacy manifest before Apple's May 1 deadline HOT 4
- App crashes when loading high resolution image. HOT 1
- setOnFastImageError
- bump SDWebImageWebPCoder to 0.11.0 to resolve Double Free VULNERABILITY
- Vulnerability reported by Snyk - libwebp HOT 1
- App crashed on Android if Source uri is empty HOT 1
- [Glide] Error: setDataSource failed: status = 0x80000000
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-fast-image.