-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Unable to identify tile selection when the background is dark in the Selectable Tile #363
Comments
Hey @niralmunjariya , thanks your question! You can modify the Selectable Tile |
@bsonefeld Let me know if there is any other way to fix this. |
This should be fixed on the component side. I'll take a look and update when fixed 😄 |
carbon-design-system#370) * fixes carbon-design-system#363. added ability to provide a preselected option from the dropdown when selectedText is passed in from props * added selectedText conditional to value state * added constructor to dropdown component to check selectedText prop against children values. moved setting state logic inside constructor. added test case to cover passed in selectedText prop not matching any child value. * updated storybook. improved logic to check for preselected item.
Detailed description
In the Selectable Tile component, when the background is not light then it's difficult to identify whether the tile is selected or not.
Is this issue related to a specific component?
Yes, Selectable Tile.
What did you expect to happen? What happened instead? What would you like to see changed?
I think the check sign should be white instead of transparent so that it should be visible regardless of background color.
What browser are you working in?
Google Chrome
What version of the Carbon Design System are you using?
7.22.0
Screenshots
Thanks in advance.
The text was updated successfully, but these errors were encountered: