We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a65b77 commit e593ae4Copy full SHA for e593ae4
src/components/input/themes/input.base.scss
@@ -30,6 +30,20 @@
30
outline-style: none;
31
font-family: var(--ig-font-family);
32
z-index: 1;
33
+
34
+ // This is a hack that removes the autofill background and it's essential,
35
+ // otherwise the background is on top of the floating label in material theme.
36
+ // The !important flag is because themes that defin transition delay on that element are overriding the transition delay hack
37
+ &:-webkit-autofill,
38
+ &:-webkit-autofill:hover,
39
+ &:-webkit-autofill:focus,
40
+ &:-webkit-autofill:active,
41
+ &:autofill,
42
+ &:autofill:hover,
43
+ &:autofill:focus,
44
+ &:autofill:active{
45
+ transition-delay: 99999s !important;
46
+ }
47
}
48
49
[part^='container'] {
0 commit comments