You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Describe the bug
path length should animate even on non-scaling-strokes; My suspicion is you are calculating the line length using the DOM method .getTotalLength() however this returns the incorrect value for strokes with non-scaling-stroke this css value is extremely important to people creating graphs that are horizontally responsive without skew'ing the svg paths.
2. Describe the bug
path length should animate even on non-scaling-strokes; My suspicion is you are calculating the line length using the DOM method
.getTotalLength()
however this returns the incorrect value for strokes withnon-scaling-stroke
this css value is extremely important to people creating graphs that are horizontally responsive without skew'ing the svg paths.3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/s/kind-knuth-b1ed2?file=/src/index.tsx
Let me know if this doesn't work don't use code sandbox often.
5. Expected behavior
Line shouldn't have gaps.
Refactoring out of react-spring love the library so this is a blocker for me atm but other than that had no problems with library.
EDIT: Possible solution outlined here:
https://stackoverflow.com/questions/44389668/svg-gettotallength-wont-return-the-right-size-for-non-scaling-stroke-get-sv
The text was updated successfully, but these errors were encountered: