-
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-toggle with ion-item not properly toggling #25570
Comments
Thanks for the issue. This behavior was a design decision made to align with iOS. However, the behavior has been seen as confusing by others, so I think it makes sense to align the |
Any updates on this? |
We have a proposal for updating the form control API that should fix the issue: #25660 |
Thanks for the report. In Ionic 7.0 we will be introducing a new The work for this was completed in #26357, so I am going to close this issue. We will have a public beta period in the future for developers to test and provide feedback on Ionic 7. Please let me know if there are any questions. |
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. |
Prerequisites
Ionic Framework Version
Current Behavior
I have a
ion-toggle
inside anion-item
as the documentation details, and opposed to what I expected and desire, when I click on theion-item
(not including theion-toggle
) the toggle does not change, only when I click exactly on the toggle.Expected Behavior
I expected that clicking anywhere on the
ion-item
would toggle theion-toggle
, as in mobile and even in desktop is pretty difficult and in general uncomfortable clicking exactly the toggle.Steps to Reproduce
I am using Vue 3, and this is (an adaptation of) the code that I'm using:
(value is an example variable that would be defined)
Code Reproduction URL
https://github.com/HipyCas/ionic-toggle-reproduction
Ionic Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: