Open ionitron-bot[bot] opened 5 years ago
I also facing same issue, UI - <ion-item (click)="openStartDatePicker()">
<ion-input formControlName="startDate"></ion-input>
</ion-item>
Component code -
openStartDatePicker() {
console.log('openStartDatePicker');
this.keyboard.close();
this.datePicker.show({
date: new Date(),
mode: 'date',
androidTheme: this.datePicker.ANDROID_THEMES.THEME_DEVICE_DEFAULT_DARK
}).then(
date => {
console.log('Start Date ', date);
let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
let month = (date.getMonth() + 1) < 10 ? '0' + (date.getMonth() + 1) : (date.getMonth() + 1);
}, err => console.log('Error occurred while getting date: ', err));
}
Framework Details,
Ionic:
ionic (Ionic CLI) : 4.10.1 (C:\Users\Pravin P Patil\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.1.11
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.0.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 13 other plugins)
System:
Android SDK Tools : 26.1.1 (E:\Softwares\Android Studio\SDK) NodeJS : v8.11.4 (C:\Program Files\nodejs\node.exe) npm : 5.6.0 OS : Windows 10
facing the same issue with click event on ion-input: Ionic CLI: 5.2.1 Ionic Framework: 4.1.1
Cordova CLI: 9.0.0 Cordova Platforms: IOS 5.0.1
Bug appears only on IOS Android is working finde
I don't know if this is realted with that click event bug but ionFocus is triggered at least 2 time for each focus.
Original issue by @stevebread on 2017-08-19T18:29:50Z
Ionic version: (check one with "x") [ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [x] 3.x
I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
After upgrade from 3.3.0 to 3.4.1, click event is not fired for <ion-input> and <ion-icon>
Expected behavior:
Click events should be fired as before
Steps to reproduce: This issue is reproducible on Android (I'm using Genymotion with Galaxy S7 7.1.0 API 25 virtual device). The same code on Plunkr does not exhibit this issue. Please see the attached file for an app that reproduces the issue. The package.json is for v3.3.0. Clicking on the input field and the icon increments the counters. The zip also includes the package.json for 3.4.1. With a 3.4.1 build the counters do not increment when clicking either the input or icon.
Related code: View:
ts:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below): For 3.3.0For 3.4.1
sample-app.zip