Skip to content
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/2051/circular progress zero #2058

Merged
merged 8 commits into from
Jan 19, 2022
Merged

Conversation

Rykus0
Copy link
Contributor

@Rykus0 Rykus0 commented Jan 18, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • infrastructure changes
  • Other... Please describe:

What is the current behavior?

#2051 - Value of 0 is visually displaying 25% complete

What is the new behavior?

Value of 0 visually displays 0% complete

Other information

Previously was checking if value was falsy and if so using the default value for indeterminate progress. Since 0 is falsy, it was displaying that progress value (25). Updated to only do this for null/undefined values.

@Rykus0 Rykus0 marked this pull request as ready for review January 18, 2022 22:11
package.json Show resolved Hide resolved
@Rykus0 Rykus0 linked an issue Jan 19, 2022 that may be closed by this pull request
2 tasks
@Rykus0 Rykus0 merged commit 8827f8b into master Jan 19, 2022
@Rykus0 Rykus0 deleted the fix/2051/circular-progress-zero branch January 19, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug?]: CircularProgress does not allow value of 0
2 participants