Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(checkbox): fix IE11 focus for checkbox
Browse files Browse the repository at this point in the history
At the moment IE11 is always selecting the div.md-container, but that will cause issues with the ngModel (options).
So we need to block pointer events for the container, because we will manage all from actual `<md-checkbox>`

Fixes #7086

Closes #7088
  • Loading branch information
devversion authored and ThomasBurleson committed Mar 1, 2016
1 parent ada5850 commit a5a0eaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/checkbox/checkbox.scss
Expand Up @@ -59,6 +59,10 @@ md-checkbox {
@include rtl(left, 0, auto);
@include rtl(right, auto, 0);

// Disable pointer events, because IE11 is always focusing the child elements instead of the
// md-checkbox element.
pointer-events: none;

&:before {
box-sizing: border-box;
background-color: transparent;
Expand Down

0 comments on commit a5a0eaf

Please sign in to comment.