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
In 8.4.2, events of ion-input
fire normally, but after updating to 8.4.3, nothing fires anymore. It breaks completely.
Related issues: #30170 - #30177 - #30178.
Expected Behavior
In 8.4.3, ion-input
events should fire as they did in 8.4.2 without any breaking changes.
Steps to Reproduce
Folder Information
Steps to Reproduce
- Run
npm run dev
in each folder individually. - Open
http://localhost:5173/
. - Open the developer console.
- You'll see an
ion-input
labeled "Default input". - Interact with the input as follows:
- Focus (ionFocus)
- Unfocus (ionBlur)
- Enter a value (ionInput)
- Click outside after input (ionChange)
- In 8.4.2-vue, you'll see console logs as expected. In 8.4.3-vue you won't.
Code Reproduction URL
https://github.com/ozgurg/ionic-8.4.3-event-issue-reproduce
Ionic Info
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module
'@capacitor/ios/package.json'
Require stack:
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/lib/project/index.js
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/lib/index.js
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/index.js
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/bin/ionic
[WARN] Error loading @capacitor/android package.json: Error: Cannot find module
'@capacitor/android/package.json'
Require stack:
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/lib/project/index.js
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/lib/index.js
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/index.js
-
/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli/bin/ionic
Ionic:
Ionic CLI : 7.2.0 (/Users/ozgurg/.nvm/versions/node/v20.18.3/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 8.4.3
Capacitor:
Capacitor CLI : 7.0.1
@capacitor/android : not installed
@capacitor/core : 7.0.1
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v20.18.3 (/Users/ozgurg/.nvm/versions/node/v20.18.3/bin/node)
npm : 10.8.2
OS : macOS Unknown
Additional Information
The 8.4.3 changelog only mentions Vue. I only reproduced it with Vue, but other frameworks and components may have the same issue.
The reproduce projects was created using ionic start reproduce blank
. Only the versions of @ionic/vue
and @ionic/vue-router
were fixed to reproduce the bug. The only file modified was src/views/HomePage.vue
. Everything else remains the same as in the "blank" starter template.