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 49e0cc8 commit 100bc5cCopy full SHA for 100bc5c
src/components/input/input.styled.ts
@@ -213,4 +213,11 @@ export const InputWrapperStyled = styled.div<InputWrapperStyledProps>`
213
background-color 600000s 0s,
214
color 600000s 0s;
215
}
216
+ /* Removing input background colour for autocomplete when it is disabled */
217
+ input:-webkit-autofill:disabled {
218
+ -webkit-text-fill-color: ${props => props.styles?.input?.color};
219
+ -webkit-box-shadow: 0 0 0px 1000px ${props => props.styles?.inputContainer?.background_color}
220
+ inset;
221
+ transition: background-color 5000s ease-in-out 0s;
222
+ }
223
`;
0 commit comments