LinearProgress displays false 1% when value is 0 in a column stack with multiple LinearProgresses #45431
Labels
component: LinearProgress
The React component.
package: material-ui
Specific to @mui/material
waiting for 👍
Waiting for upvotes
https://codesandbox.io/p/devbox/optimistic-nobel-pvzh4n?file=%2Fsrc%2FApp.js
Steps to reproduce
Steps:
Current behavior
Some progress bars incorrectly display a small filled portion (~1%) despite having value = 0, and the issue may appear or disappear when resizing the screen.
Expected behavior
When value = 0, all progress bars should be completely empty regardless of screen size.
Context
The LinearProgress component, when used inside a flex container alongside multiple other LinearProgress components, sometimes incorrectly displays a small filled portion (~1%) even when value = 0. This issue occurs when the container has a restricted width and can be observed inconsistently across different screen sizes.
Code for playground:
Your environment
Browsers: Chrome, Firefox, Safari
Search keywords: LinearProgress, false 1%
The text was updated successfully, but these errors were encountered: