You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scss for the Tearsheet overrides the styling for TextInput, however when a TextInput component is in read-only mode, it's background-color is designed to match the background colour of the container.
richardpilot
changed the title
[YOUR TITLE]: Brief description
Read-only TextInput has incorrect background color due to Tearsheet overriding style
Jan 14, 2025
Package
Carbon for IBM Products
Description
The scss for the
Tearsheet
overrides the styling for TextInput, however when a TextInput component is in read-only mode, it's background-color is designed to match the background colour of the container.https://github.com/carbon-design-system/ibm-products/blob/main/packages/ibm-products-styles/src/components/Tearsheet/_tearsheet.scss
Search for the override
background-color: $field;
Current behaviour:
Expected behaviour:
Component(s) impacted
TextInput
inside of anyTearsheet
variantBrowser
No response
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.47.0
Suggested Severity
None
Product/offering
MQ
CodeSandbox or Stackblitz example
https://codesandbox.io/p/devbox/wizardly-ellis-mf45yv
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: