[BUG] Error on getTotalLength when testing component with vue-trend component inside
kuroski opened this issue · 1 comments
kuroski commented
Hello =D.
I'm currently testing one of my custom components, and it uses your lib to render a trendline.
During the tests, when it envolves a chart update, it causes a:
[Vue warn]: Error in nextTick: "TypeError: path.getTotalLength is not a function"
Apparently this error is showed because SVGPathElement.getTotalLength()
has been moved to SVGGeometryElement.getTotalLength()
from the Web standards.
https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement/getTotalLength
axle07 commented
+1