Skip to content

Disabled Indeterminate Checkbox Styling #14415

Closed
@RussellAFisher

Description

@RussellAFisher

Bug: Background-color styling for a disabled indeterminate checkbox doesn't match styling for disabled checked checkbox

What is the expected behavior?

Disabled checkboxes all have the same background-color: #b0b0b0 no matter their state

What is the current behavior?

Indeterminate checkboxes retain their themed color

What are the steps to reproduce?

https://stackblitz.com/edit/angular-iscw2w

  1. Expand top level
  2. Click on a secondary level checkbox so top level becomes indeterminate
  3. Click disable button at the bottom

What is the use-case or motivation for changing an existing behavior?

Regression from 6

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

"@angular/core": "^7.1.1",
"@angular/material": "^7.1.1",
"typescript": "~3.1.6"
MacOS High Sierra 10.13.6
Chrome Version 70.0.3538.110

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions