Skip to content

Commit

Permalink
fix(input): add back pointer-events none removed in #3878 (#4206)
Browse files Browse the repository at this point in the history
mmalerba authored and kara committed Apr 21, 2017

Verified

This commit was signed with the committer’s verified signature.
thaJeztah Sebastiaan van Stijn
1 parent 7942948 commit fb1fabc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/input/input-container.scss
Original file line number Diff line number Diff line change
@@ -132,6 +132,7 @@ $mat-input-underline-disabled-background-image:
top: 0;

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

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

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

0 comments on commit fb1fabc

Please sign in to comment.