Display problem: passing by 0 at every value change
browetd opened this issue · 14 comments
Running HA 0.110.4 and canvas 0.4... Display problem, when the value changes, the ticker is moving to 0 before displaying the correct value... I can send you a small screen recording if necessary (file type not supported here). The problem seems only linked with Google Chrome (with Firefox, I do not have that behavior).
Confirming that the issue occurs in Safari on mobile and desktop, too.
Adding animation: false
is a workaround. I presume at some point, the value is being set to zero before being updated with the new value.
There is definitely something fishy with "animation" (and "animateOnInit") in 0.4.
Showing a 0 would display as "minValue" even if the gauge was having a negative minValue.
And other gauges would always point to "minValue" even if the number displayed in the box was correct.
Setting both "animation" and "animateOnInit" to false fixed this.
Link to upstream issue: Mikhus/canvas-gauges#106
Setting both "animation" and "animateOnInit" to false fixed this.
Sadly this workaround doesn't fix the issue, Safari on MacOs
Yes, same thing happens to me on chrome. workaround works....but Animation would be great...