Skip to content
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

[Bug]: <Tag /> disabled state is broken #16942

Closed
2 tasks done
lluisrojass opened this issue Jul 10, 2024 · 1 comment · Fixed by #16943
Closed
2 tasks done

[Bug]: <Tag /> disabled state is broken #16942

lluisrojass opened this issue Jul 10, 2024 · 1 comment · Fixed by #16943

Comments

@lluisrojass
Copy link
Contributor

lluisrojass commented Jul 10, 2024

Package

@carbon/react, @carbon/styles

Browser

Chrome

Package version

1.61.0

React version

No response

Description

Disabled state for tags is visually broken. The label element obtains the cds--tag--${type} class name which comes with color/background-color styles not overwritten.

Screenshot 2024-07-10 at 4 24 05 PM

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-tag--playground&args=disabled:!true;type:cyan

Steps to reproduce

Visit the live storybook: https://react.carbondesignsystem.com/?path=/story/components-tag--playground&args=disabled:!true;type:cyan

Suggested Severity

Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

@lluisrojass
Copy link
Contributor Author

@Gururajj77 I have raised a PR for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants