patternfly / patternfly-react

A set of React components for the PatternFly project.
https://react-staging.patternfly.org/
MIT License
794 stars 357 forks source link

PF4 progress bar shows 10% as min value #888

Closed dlabrecq closed 5 years ago

dlabrecq commented 5 years ago

The Koku UI currently uses the latest PF4 progress bar and in some cases, shows zero as the percentage value. However, the progress bar itself still shows zero as 10%.

Similar to how 100% shows a full bar, I expect zero to show an empty bar.

Zero percent progressbar zero percent

10 percent progressbar 10 percent

ibolton336 commented 5 years ago

c_progress__indicator_MinWidth is set to "2rem". Not sure where to change this but setting the min width to 0 should fix it.

ibolton336 commented 5 years ago

This is a PF-next issue. Closing & reopening in patternfly-next.

dlabrecq commented 5 years ago

Won't the react-core package need to be updated in order to receive the fix from pf-next? At a min, the pf-next new issue could be added here (before closing), so we can track progress.

ibolton336 commented 5 years ago

link to pf-next issue