From 11e3c3e1280f153230701853ef2fbf94bdd08743 Mon Sep 17 00:00:00 2001 From: Stefan Rein Date: Wed, 21 Aug 2019 17:54:21 +0200 Subject: [PATCH] Fix: #1049 Bugfix for Android Pi (9) first time tap not working. Plus some minor TypeScript updates which should not affect anything. --- src/components/input/input.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/input/input.ts b/src/components/input/input.ts index d90afcb38..71240d20f 100644 --- a/src/components/input/input.ts +++ b/src/components/input/input.ts @@ -611,7 +611,8 @@ export class TextInput extends BaseInput implements IonicFormInput { // focus this input if the pointer hasn't moved XX pixels // and the input doesn't already have focus if (!hasPointerMoved(8, this._coord, endCoord) && !this.isFocus()) { - ev.preventDefault(); + // ev.preventDefault(); // This breaks the first time tap behavior on Android 9. + // @see https://github.com/ionic-team/ionic-v3/issues/1049 ev.stopPropagation(); // begin the input focus process