Comments (1)
Usage with modals on Android
On Android React Native Gesture Handler does not work by default because modals are not located under React Native Root view in native hierarchy. To fix that, components need to be wrapped with gestureHandlerRootHOC (it's no-op on iOS and web).
For example:
const ModalContent = gestureHandlerRootHOC(() => (
<ImageZoom uri={imageUri} />
);
export default function Example() {
return (
<Modal>
<ModalContent />
</Modal>
);
}
from react-native-image-zoom.
Related Issues (20)
- renderLoader is not implemented as stated in the readme. HOT 7
- Request to support ImageBackground and doubleTap feature HOT 3
- Nothing is rendering on android HOT 2
- Can't zoom in modal HOT 4
- Feature Request: Implement 'Snap Back' prop for Zoom Functionality HOT 9
- Feature request: Custom component for image instead of uri HOT 5
- Support for expo-image or other components HOT 5
- Simple onPress handler? HOT 2
- ExceptionsManager.js:184 TypeError: (0 , _reactNativeReanimated.useSharedValue) is not a function HOT 1
- onSnapBackEnd / onResetEnd HOT 2
- Is it possible to cancel the zoom reset? HOT 3
- The package supposed to work with `react-native-reanimated-carousel` ? HOT 2
- onPress handler event using Gesture.Exclusive HOT 1
- Get the current scale/zoom level? HOT 5
- Web issue: [Reanimated] `useAnimatedStyle` was used without a dependency array or Babel plugin HOT 2
- Local Image not open only uri working HOT 1
- in modal is not working HOT 2
- Moving the image around requires two fingers when used with react-native-snap-carousel HOT 3
- Error: GestureDetector must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized. See https://docs.swmansion.com/react-native-gesture-handler/docs/installation for more details. HOT 1
- [Feature Request] Disable Snap Back via a dedicated property.
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-image-zoom.