Skip to content

Commit

Permalink
fix(input): add back pointer-events: none removed in angular#3878
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Apr 21, 2017
1 parent d1128fe commit 858e8da
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
Expand Up @@ -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;

Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 858e8da

Please sign in to comment.