On Android only:
Tapping on an
ion-input on Android doesn’t give the input focus. If I use a regular HTML input and tap it it gets focus the keyboard appears. If I programmatically set focus to an
ion-input and tap it the keyboard appears.
But using any variation of ion-input:
<ion-item> <ion-label>Test</ion-label> <ion-input type="text" placeholder="tap here"></ion-input> </ion-item>
I can’t get the input to accept focus and, of course, then the keyboard doesn’t appear.
I added (focus) and (blur) event logging on ion-input and have confirmed that they are never called when ion-input is tapped. If I programmatically focus the input the focus event is emitted and the blur when I tap/click out of it.
Cordova CLI: 6.5.0 Ionic Framework Version: 2.2.0 Ionic CLI Version: 2.2.2 Ionic App Lib Version: 2.2.1 Ionic App Scripts Version: 1.2.2 ios-deploy version: 1.9.1 ios-sim version: 5.0.4 OS: macOS Sierra Node Version: v7.4.0 Xcode version: Xcode 8.3 Build version 8E162