keanemind / react-gaugejs

React wrapper for gauge.js

Home Page:https://www.npmjs.com/package/react-gaugejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating props on the fly does not cause gauge to change

keanemind opened this issue · comments

Updating the maxValue and minValue props after the component has mounted fails to cause the gauge to change its appearance. This is because the internal Gauge/Donut instance does not know to re-render or re-animate. The animationSpeed and options props need to be tested for this issue.

The value and donut props are known to be working as expected.