Skip to content

Commit 7336b90

Browse files
andrewseguinjelbourn
authored andcommitted
fix(ripple): allow pointer events on ripple; disable on checkbox ripple (#1684)
1 parent 7fcf511 commit 7336b90

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/lib/checkbox/checkbox.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,4 +426,5 @@ md-checkbox {
426426
bottom: -$md-checkbox-ripple-size;
427427
border-radius: 50%;
428428
z-index: 1;
429+
pointer-events: none;
429430
}

src/lib/core/ripple/_ripple.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ $md-ripple-foreground-default-color: rgba(0, 0, 0, 0.0588);
1313
// "relative" so that the ripple divs it creates inside itself are correctly positioned.
1414
[md-ripple] {
1515
overflow: hidden;
16-
pointer-events: none;
1716
}
1817

1918
[md-ripple].md-ripple-unbounded {

src/lib/radio/radio.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ md-radio-button {
9898
bottom: -$md-radio-ripple-size;
9999
border-radius: 50%;
100100
z-index: 1;
101+
pointer-events: none;
101102
}

0 commit comments

Comments
 (0)