[LinearProgress] `color="action.disabled"` is crashing
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
<LinearProgress color="primary" /> works.
<LinearProgress color="action.disabled" /> does not work (crash)
<LinearProgress color="inherit" sx={{ color: "action.disabled" }} /> works as expected (workaround)
For example, These things work as expected:
<Typography color="action.disabled">qwe</Typography>
<Typography color="primary">qwe</Typography>
<Typography color="primary.dark">qwe</Typography>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the LinearProgress color handling and compare its treatment of action.disabled with Typography and the working sx workaround shown in the report. Reproduce the crash with the provided JSX, then verify that color="action.disabled" renders without breaking the existing primary, primary.dark, and inherit cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100