From 5fde5850b1f1d33c4a549ab0536704dc0af7c621 Mon Sep 17 00:00:00 2001 From: vakrilov Date: Wed, 21 Oct 2015 11:55:59 +0300 Subject: [PATCH] Fire tap event on tap up without waiting --- ui/gestures/gestures.android.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/gestures/gestures.android.ts b/ui/gestures/gestures.android.ts index ab5477997..a3feed894 100644 --- a/ui/gestures/gestures.android.ts +++ b/ui/gestures/gestures.android.ts @@ -186,7 +186,7 @@ class TapAndDoubleTapGestureListener extends android.view.GestureDetector.Simple return global.__native(this); } - public onSingleTapConfirmed(motionEvent: android.view.MotionEvent): boolean { + public onSingleTapUp(motionEvent: android.view.MotionEvent): boolean { if (this._type & definition.GestureTypes.tap) { var args = _getArgs(definition.GestureTypes.tap, this._target, motionEvent); _executeCallback(this._observer, args);