Closed RomanPanaget closed 3 years ago
Describe the bug & Expected behavior TypeError: lineRef.current.getTotalLength is not a function --> getTotalLength is no longer supported
To Reproduce Launch create-react-app, install react-xarrows and use it somewhere. Run yarn upgrade if the error doesn't show up.
Well I need to add as any at the end of this line https://github.com/Eliav2/react-xarrows/blob/2dd35ac1439d210ca741b3c66bd0437c490e2436/src/index.tsx#L755 I will do so
as any
fixed with v1.7.1
Describe the bug & Expected behavior TypeError: lineRef.current.getTotalLength is not a function --> getTotalLength is no longer supported
To Reproduce Launch create-react-app, install react-xarrows and use it somewhere. Run yarn upgrade if the error doesn't show up.