Setting max while animation is in progress causes round-progress to have a wrong value.
bitforcesrl opened this issue · comments
bitforcesrl commented
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%