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

Setting max while animation is in progress causes round-progress to have a wrong value. #185

Open
bitforcesrl opened this issue Apr 30, 2019 · 0 comments

Comments

@bitforcesrl
Copy link

If [max] is changed while the animation is still in progress, the round progress may show a wrong value. (Probably the values are not capped).

To reproduce:
Open the following link (official example):
http://crisbeto.github.io/angular-svg-round-progressbar/

  • set Current to 0
  • set Max to 1
  • set duration to 80000 (80,000)
  • set Current to 1635
  • before the animation ends, set Max to 1500

Expected:

  • Round progress should be filled because Current is > than Max

Actual:

  • animation stops and fill value is somewhere 1%
@bitforcesrl bitforcesrl changed the title Setting max while animation is in progress, the round progress may show a wrong value. Setting max while animation is in progress causes round-progress to have a wrong value. Apr 30, 2019
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

No branches or pull requests

1 participant