-
-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(component/progressbar): fix progressbar showing label when progress == 0 #698
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #698 +/- ##
=======================================
Coverage 99.42% 99.42%
=======================================
Files 130 130
Lines 6479 6480 +1
Branches 485 485
=======================================
+ Hits 6442 6443 +1
Misses 37 37
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
15807f2
to
b4075b0
Compare
* fix: group list styling * fix: borders between list group items --------- Co-authored-by: Mees van Dongen <[email protected]> Co-authored-by: Ricardo Lüders <[email protected]>
… at progress value is 0 The conditional rendring using the '&&' would return 0 on condition being false which would get displayed when progress value is 0. This was fixed using ternary operator instead. And also the label would get hidden at low progress values which is now fixed. fix themesberg#696
b4075b0
to
dfcc210
Compare
I hope you don't mind @SrivatsaRUpadhya, I changed it a little bit. I want to spin a release this week. :) |
Description
Progress bar shows labels even when it is disabled at progress value is 0
The conditional rendering using the '&&' would return 0 on condition being false which would get displayed when progress value is 0. This was fixed using ternary operator instead. And also the label would get hidden at low progress values which is now
Fixes #696
Type of change
How Has This Been Tested?
Tested by trying to set the progress value to zero in the storybook.
Checklist: