minddust / bootstrap-progressbar

progressbar interactions for twitter bootstrap 2 & 3
www.minddust.com/project/bootstrap-progressbar
MIT License
577 stars 160 forks source link

Bugs out with custom format and decimal input #35

Closed megawac closed 10 years ago

megawac commented 10 years ago

http://jsbin.com/vivipuha/1/edit -- look at console

Because of this odd logic here decimal number inputs will work when the value was less than the previous transition goal; otherwise it will show round(value - aria-valuemin). What?!

I'm going to sleep let me know if the issue isn't clear enough

minddust commented 10 years ago

as far as i remember there were some problems with decimal numbers because the value calculation is based on the width (in px). but i saw another bug (fixed in 0.8.1) which was a wrong calculation for valuemin != 0.

nonetheless i'm working on that to support decimal as well.