question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disabled number input (light mode) is the wrong background color

See original GitHub issue

We have the number input set up properly in our environment but it is rendering incorrectly. We’re using light settings but the background is showing up as white; causing it to be invisible. Matt Howard is our dev on this.

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

Describe in detail the issue you’re having.

It renders like this… image

But in storybook, it looks like this… image

image

Is this issue related to a specific component?

Yes, the Number stepper

What did you expect to happen? What happened instead? What would you like to see changed?

What browser are you working in?

This is browser agnostic as it appears in all browsers this way.

What version of the Carbon Design System are you using?

current.

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

Modeler Flows for Watson Studio / Elyra canvas

Please create a reduced test case in CodeSandbox

Additional information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
emyarodcommented, Aug 27, 2020

it looks like the labels and helper text also are not receiving disabled styles so I can make that change

2reactions
matthoward366commented, Aug 27, 2020

I think there needs to be a light variant for disabled on the number control.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change the background color when disabled is true
Just have scope variable for ng-disabled and use it with ng-class <input type="file" ng-disabled="shouldDisable" ...
Read more >
Change text color for disabled input - Ignition
On the numeric input (and text input) boxes when the “Enabled” property is set to false, it makes the background a light grey...
Read more >
Disable and change colour of input field - Focal Point Forums
When the user enters some values in the input box we want to disable the textarea and change the background colour to grey....
Read more >
How to change the font-color of disabled input using CSS
In this article, we are going to learn how to change the font-color of disabled input. There is a method to solve this...
Read more >
Text input control in Power Apps - Microsoft Learn
DisabledColor – The color of text in a control if its DisplayMode property is set to Disabled. DisabledFill – The background color of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found