Skip to content

Commit

Permalink
fix(input): remove jitter that occurs on focus (#3343)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored and kara committed Mar 1, 2017
1 parent 252db25 commit eba7641
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/input/input-container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,10 @@ $mat-input-underline-disabled-background-image:
width: 100%;
transform-origin: top;
opacity: 0;
transform: scaleY(0);
transition: transform $swift-ease-out-duration $swift-ease-out-timing-function,
opacity $swift-ease-out-duration $swift-ease-out-timing-function;
transition: opacity $swift-ease-out-duration $swift-ease-out-timing-function;

.mat-focused & {
opacity: 1;
transform: scaleY(1);
}
}
}
Expand Down

0 comments on commit eba7641

Please sign in to comment.