vue-css-donut-chart icon indicating copy to clipboard operation
vue-css-donut-chart copied to clipboard

Running in Safari 13 and Chrome latest but displaying incorrect segment numbers with Safari 14 and above

Open devghod opened this issue 4 years ago • 5 comments

Capture my section data Capture1 output with the length of the array

devghod avatar Nov 08 '21 13:11 devghod

image_2021_11_10T04_08_51_907Z

image_2021_11_10T04_08_23_175Z

1st image shows the correct output and runs it in Safari v13. 2nd image runs in Safari v14 which display incorrect output. sections: [ { value: 35 }, { value: 15 }, { value: 15 }, { value: 35 } ], This is the data sample we used for both and think that there is a problem with the rendering of color in Safari v14.

devghod avatar Nov 10 '21 05:11 devghod

That's weird. What version of the library are you using?

dumptyd avatar Nov 10 '21 06:11 dumptyd

v1 for vue-css-donut-chart since I'm using vue 2

devghod avatar Nov 10 '21 06:11 devghod

I tried this on the demo site in Safari 14 and it seems to be working as expected. Could it be that there's a conflicting CSS rule in the parent that's messing with the styles? Maybe try rendering the component outside of your grid to see if grid is the culprit. If it isn't and the issue persists, then see if you can reproduce it here https://jsfiddle.net/dumptyd/ujvypcd3/.

image

dumptyd avatar Nov 10 '21 15:11 dumptyd

Will look into it. Thank you

devghod avatar Nov 11 '21 00:11 devghod