-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search
: Autocomplete color contrast in Chrome
#4808
Comments
There are two approaches to fixing this:
I used the first option as a quick fix in our project, but I'm thinking now that I prefer the second option as a longer term fix because it doesn't involve going down the road of learning / overwriting strange browser-specific pseudo classes. |
HI @SimonFinney Thanks for bringing this to our attention! What browser are you finding this in and would you be able to provide a code sandbox reproducing this problem? At first glance, this issue seems to come from your implementation of the Search component. The icons in our Search component are black by default and pass color contrast with the new |
Closing this since a solution is posted above! Re-open if anyone feels like the problem still needs to be addressed 👍 |
@abbeyhrt I believe this will be affected in darker themes, like gray 100, where the icon defaults to white. Unfortunately, I don't have the permissions to reopen this issue but it still exists. |
Can confirm that this issue exists on Chrome 78, OSX. We should reopen this issue. |
@SimonFinney thanks for pointing that out! Reopening for further investigation |
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
Cancel search icon button color contrast is off due to recently introduced
skyblue
background color for autofill in Chrome - https://support.google.com/docs/thread/4024179?hl=enThe text was updated successfully, but these errors were encountered: