Skip to content

Commit 99e83a6

Browse files
devversionmmalerba
authored andcommitted
fix(material-experimental/mdc-form-field): missing animation styles due to rebase conflict
b24b9e3 accidentally removed the form-field animation styles due to a rebase conflict. This commit re-adds the animation styles.
1 parent f36f1f3 commit 99e83a6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/material-experimental/mdc-form-field/form-field.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,12 @@
5353
min-height: $mdc-text-field-height;
5454
box-sizing: border-box;
5555
}
56+
57+
// In order to make it possible for developers to disable animations for form-fields,
58+
// we only activate the animation styles if animations are not explicitly disabled.
59+
.mat-mdc-form-field:not(.mat-form-field-no-animations) {
60+
@include mdc-notched-outline-core-styles($query: animation);
61+
@include mdc-floating-label-core-styles($query: animation);
62+
@include mdc-text-field-core-styles($query: animation);
63+
@include mdc-line-ripple-core-styles($query: animation);
64+
}

0 commit comments

Comments
 (0)