fix(ios): handle tap and longpress gesture conflict (#10004)

This commit is contained in:
Eduardo Speroni
2022-08-24 19:45:26 -03:00
committed by GitHub
parent 54bd44b8ba
commit 64755cb348

View File

@@ -33,6 +33,9 @@ class UIGestureRecognizerDelegateImpl extends NSObject implements UIGestureRecog
if (gestureRecognizer instanceof UITapGestureRecognizer && otherGestureRecognizer instanceof UITapGestureRecognizer && otherGestureRecognizer.numberOfTapsRequired === 2) {
return true;
}
if (gestureRecognizer instanceof UITapGestureRecognizer && otherGestureRecognizer instanceof UILongPressGestureRecognizer) {
return true;
}
return false;
}