-
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
Inline Select component needs background in Chrome/Windows #9112
Labels
component: select
package: components
carbon-components
severity: 2
https://ibm.biz/carbon-severity
type: bug 🐛
Comments
For me the problem is no longer there both with the Svelte components (which uses carbon-components
🤔 |
1 task
2 tasks
37 tasks
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component: select
package: components
carbon-components
severity: 2
https://ibm.biz/carbon-severity
type: bug 🐛
What package(s) are you using?
carbon-components
carbon-components-react
carbon-components-svelte
Detailed description
In Chrome on Windows a
<select>
background needs to be set to fit the<color>
, otherwise the options can become unreadable. This is very OS and browser-specific; e.g. it is not a problem for Firefox on Windows or Chrome on Mac.Affected is the
<Select>
component with the inline class set without mouse hover in a dark theme. E.g. used in<Pagination>
.With hover (CSS sets background):
Without hover:
Steps to reproduce the issue
<Pagination>
The official component page demonstrates this behavior.
Additional information
Relevant CSS that seems to cause this:
The select already has an explicit background otherwise.
The text was updated successfully, but these errors were encountered: