react-native-circular-chart icon indicating copy to clipboard operation
react-native-circular-chart copied to clipboard

Chart disappears at the end of slide animation

Open StudeApps opened this issue 2 years ago • 1 comments

When using slide animation, the chart disappears at the end of the animation, probably because when rendering the Svg with d.to=0 and d.from=360, the Svg takes the shortest path, which means no angle at all. I worked around it by adding a condition that sets d.from to 359 if (d.from == 0 && d.to == 360) This is probably not the most elegant way of solving it, that's why I address this as an issue and not a PR.

Thanks for this awesome package anyways!

StudeApps avatar Jul 10 '23 16:07 StudeApps

saved my day!

elencho avatar Oct 07 '23 10:10 elencho