File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
// Core styles that enable monitoring autofill state of text fields.
2
2
@mixin cdk-text-field {
3
3
// Keyframes that apply no styles, but allow us to monitor when an text field becomes autofilled
4
- // by watching for the animation events that are fired when they start.
4
+ // by watching for the animation events that are fired when they start. Note: the /*!*/ comment is
5
+ // needed to prevent LibSass from stripping the keyframes out.
5
6
// Based on: https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7
6
- @keyframes cdk-text-field-autofill-start {}
7
- @keyframes cdk-text-field-autofill-end {}
7
+ @keyframes cdk-text-field-autofill-start {/* ! */ }
8
+ @keyframes cdk-text-field-autofill-end {/* ! */ }
8
9
9
10
.cdk-text-field-autofill-monitored :-webkit-autofill {
10
11
animation-name : cdk- text- field- autofill- start;
You can’t perform that action at this time.
0 commit comments