Skip to content

Commit fb1fabc

Browse files
mmalerbakara
authored andcommitted
fix(input): add back pointer-events none removed in angular#3878 (angular#4206)
1 parent 7942948 commit fb1fabc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/input/input-container.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ $mat-input-underline-disabled-background-image:
132132
top: 0;
133133

134134
font-size: 100%;
135+
pointer-events: none; // We shouldn't catch mouse events (let them through).
135136
z-index: 1;
136137
padding-top: 1em;
137138

@@ -180,6 +181,7 @@ $mat-input-underline-disabled-background-image:
180181
width: 100%;
181182
padding-top: 1em;
182183
overflow: hidden;
184+
pointer-events: none; // We shouldn't catch mouse events (let them through).
183185
transform: translate3d(0, 0, 0); // Prevents the label from shifting after the animation is done.
184186

185187
// Keeps the element height since the placeholder text is `position: absolute`.

0 commit comments

Comments
 (0)