-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: ion-item click event not triggering if item contains checkbox #22557
Comments
Thanks, I can reproduce this. Last good version was 5.4.4. Possibly related to 7214a84 but I have not confirmed that yet. cc @brandyscarney |
Thanks for the issue. This has been resolved via #22561, and a fix will be available in an upcoming release of Ionic Framework. |
Hey there, We discovered an issue with the fix in #22561, so I reverted it. I am going to re-open this issue until we can implement a proper fix. As a workaround for now, you can add <ion-item [button]="true" (click)="myFunction()">
<ion-checkbox></ion-checkbox>
</ion-item> |
@brandyscarney was able to come up with another solution, so this will still be fixed in an upcoming release of Ionic Framework. Thanks! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[ ] 4.x
[x] 5.x
Current behavior:
ion-item click event not triggering if item contains ion-checkbox
Expected behavior:
click event should be triggered
Steps to reproduce:
Stackblitz
Other information
It is a breaking change, it has worked in recent versions.
Ionic info:
ionic version: 5.5.0
The text was updated successfully, but these errors were encountered: