Skip to content

Commit 8722075

Browse files
authored
fix(ios-actionbar): parent/child gesture recognition (#7400)
1 parent 9ecf07f commit 8722075

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tns-core-modules/ui/gestures/gestures.ios.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ class UIGestureRecognizerDelegateImpl extends NSObject implements UIGestureRecog
1717
public static ObjCProtocols = [UIGestureRecognizerDelegate];
1818

1919
public gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer(gestureRecognizer: UIGestureRecognizer, otherGestureRecognizer: UIGestureRecognizer): boolean {
20-
// If both gesture recognizers are of type UITapGestureRecognizer, do not allow
21-
// simultaneous recognition.
22-
if (gestureRecognizer instanceof UITapGestureRecognizer && otherGestureRecognizer instanceof UITapGestureRecognizer) {
23-
return false;
24-
}
2520
return true;
2621
}
2722

0 commit comments

Comments
 (0)