react-native-gesture-handler
react-native-gesture-handler copied to clipboard
Svg Image pointerEvents="none" not working on Android
Description
In an SVG with a transparent image I set pointerEvents="none" to allow another Image to receive the gesture events. It is working fine on Web and on iOS. It is not working on Android.
Steps to reproduce
- Using react-native-svg, create a transparent Image and another Image underneath it.
- Add pointerEvents="none" to the transparent Image
- Add GestureDetector to the Image underneath.
- Try to fire gesture to the Image underneath and see that no gesture is triggered.
Snack or a link to a repository
https://snack.expo.dev/@lorenzoangelini/rn-svg-gesture-image-gesture-swallowing
Gesture Handler version
2.14.0
React Native version
0.73.0
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
i have same issue! any solution? @lorenzo-ange