-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
The progress
0 is shown above a progress bar with labelProgress
is false
#696
Comments
SrivatsaRUpadhya
added a commit
to SrivatsaRUpadhya/flowbite-react
that referenced
this issue
Apr 13, 2023
… 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
10 tasks
rluders
pushed a commit
to SrivatsaRUpadhya/flowbite-react
that referenced
this issue
Apr 17, 2023
… 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
rluders
added a commit
that referenced
this issue
Apr 17, 2023
…ss == 0 (#698) * fix: group list styling (#668) * 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]> * fix(progress.tsx): progress bar shows labels even when it is disabled 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 #696 * style(default.ts): changed progress bar label(inside label) color for light mode * fix(components/progressbar): fix progressbar showing label when progress == 0 --------- Co-authored-by: Mees van Dongen <[email protected]> Co-authored-by: Ricardo Lüders <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
With settings:
The progress
0
is shown above a progress bar.To Reproduce
Steps to reproduce the behavior:
main
, runyarn run start:storybook
Progress
, set propertyprogress
to0
Expected behavior
The
0
won't be shown iflabelProgress
isfalse
Screenshots
System information:
Project information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: