Attribution tooltip appearing over GiphyMediaView on other gestures than long press, such as rotation, pinch, pan. Expo / Android / React Native Gesture Handler #165
Labels
bug
Something isn't working
🐛 Bug Report
Android Simulator: The attribution tooltip that appears on long presses over the MediaViews appears when the object is panned, rotated, pinched etc. This may be caused somehow by React-Native-Gesture-Handler, but I don't think so; A long press gesture handler attached to the component fires before the attribution bubble appears.
To Reproduce
Wrap the GiphyMediaView component in an Animated.View with a react-native-gesture-handler gesture component attached to it. Example shown in the code at the bottom.
Expected behavior
I expect the attribution tooltip to appear exclusively on longpress gestures, and not count longpress gestures that stem from pans, rotations, pinches.
The same code works fine on iOS.
Actual Behavior
The tooltip appears on any gestures. Pans, Rotations, Pinches obviously result in holding down the object for a longer period of time, which on android seems to trigger the long press gesture detector.
Your Environment
Reproducible Demo
The text was updated successfully, but these errors were encountered: