Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When putting a ion-input inside of an ion-item, the click event on the ion-item is emitted two times when a scroll is performed by clicking on the ion-item.
Expected Behavior
The click event should be emitted just once.
Steps to Reproduce
Create a new Ionic project with a page that contains enough content so that the ion-item is in the second half of the page. If the ion-item is low enough, on a click, it will force a scroll and thus generate two clicks instead of one.
Code Reproduction URL
https://github.com/JulienLecoq/bug_ion-item_double_click
Ionic Info
Ionic:
Ionic CLI : 7.2.1 (/Users/julien_lecoq/.nvm/versions/node/v20.14.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.5.7
@angular-devkit/build-angular : 19.2.12
@angular-devkit/schematics : 19.2.12
@angular/cli : 19.2.12
@ionic/angular-toolkit : 12.2.0
Capacitor:
Capacitor CLI : 7.2.0
@capacitor/android : not installed
@capacitor/core : 7.2.0
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v20.14.0 (/Users/julien_lecoq/.nvm/versions/node/v20.14.0/bin/node)
npm : 10.9.0
OS : macOS Unknown
Additional Information
No response