Skip to content
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

MDCCheckbox, inconsistent behavior on IE #1503

Closed
anton-kachurin opened this issue Oct 29, 2017 · 4 comments
Closed

MDCCheckbox, inconsistent behavior on IE #1503

anton-kachurin opened this issue Oct 29, 2017 · 4 comments

Comments

@anton-kachurin
Copy link
Contributor

What MDC-Web Version are you using?

0.23.0

What browser(s) is this bug affecting?

Internet Explorer 11, Edge

What OS are you using?

Windows 10

What are the steps to reproduce the bug?

  1. Open the demo page: https://material-components-web.appspot.com/checkbox.html
  2. Scroll down to "With JavaScript" examples
  3. Check the "Default checkbox"
  4. Click Toggle indeterminate
  5. Click on the checkbox

What is the expected behavior?

In Chrome and Firefox, the checkbox will be unchecked at this point.

What is the actual behavior?

In Internet Explorer, it's checked.

@lynnmercier
Copy link
Contributor

Looks like a bug! Thanks for filing.

@anton-kachurin
Copy link
Contributor Author

anton-kachurin commented Nov 7, 2017

Turns out, it's a well-known behavior of IE, very good explained in this StackOverflow answer:
https://stackoverflow.com/a/33529024

The question is if MDCCheckbox should unify this behavior across the browsers (i.e to force IE to behave like any other browser) or if it should be left up to app developers.

@Havret
Copy link

Havret commented Dec 21, 2017

It would be great if we have the behavior unified out of the box.

@bonniezhou
Copy link
Contributor

We don't plan to unify this behavior since it seems to be a specific implementation decision by the browser. Closing as working as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants