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([MatCheckbox]): MatCheckbox doesn't check on mobile in certain conditions #19466
Comments
@KyleAlanDavis Thanks for resubmitting. The reproduction does not work for me. I always get a |
@devversion Apologies, the site was only accessible to USA ipaddresses. I've gotten them to open up the test site, so https://test.aryv.com/checkbox-test should work everywhere. |
@KyleAlanDavis Thanks for figuring that out. I can now load the page, but the app does not run as there are some errors in my browser (e.g. when loading the bundles). Looks like those are served from a CDN that blocks my country (GER) It would be great to have this in a standalone StackBlitz, but you mentioned that you weren't able to see this there. This makes me wonder if it is something specific in your application that is not necessarily related to our checkbox. |
I have the exact same problem in my code. |
Are you using AngularJS? That is what was causing our issue (@KyleAlanDavis and myself), details here: #20725 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Reproduction
Resubmitting #17146, as noted on that issue.
I am not able to reproduce this on stackblitz, only in my current project.
When the viewing the page in mobile, clicking on the checkboxes causes the ripple effect on the background but does not check the checkbox. The regular html checkbox below it is able to be checked just fine.
Inspection of the event is showing that the event.isTrusted = false. I think that is the issue, but have no idea how it is happening.
To see the issue on a mobile device:
To see the issue on Windows Chrome:
Expected Behavior
The checkbox should be checked.
Actual Behavior
The ripple effect displays but the checkbox is not checked.
Environment
Since the last report, our project has been upgraded to v9.
The text was updated successfully, but these errors were encountered: