Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 1f6cd8f

Browse files
devversionThomasBurleson
authored andcommitted
fix(checkbox): fix IE11 focus for checkbox
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
1 parent ccc1fdb commit 1f6cd8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/checkbox/checkbox.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ md-checkbox {
5959
@include rtl(left, 0, auto);
6060
@include rtl(right, auto, 0);
6161

62+
// Disable pointer events, because IE11 is always focusing the child elements instead of the
63+
// md-checkbox element.
64+
pointer-events: none;
65+
6266
&:before {
6367
box-sizing: border-box;
6468
background-color: transparent;

0 commit comments

Comments
 (0)