frappe / charts

Simple, responsive, modern SVG Charts with zero dependencies
https://frappe.io/charts
MIT License
14.9k stars 716 forks source link

v2 bug: glitchy rendering during load #341

Open mathiasbynens opened 3 years ago

mathiasbynens commented 3 years ago

Expected Behaviour

I expect the layout of the chart, and of the legend on the y axis, not to shift repeatedly during the initial load.

Actual Behaviour

https://user-images.githubusercontent.com/81942/117464169-af67ec00-af50-11eb-8a36-3abb8c5b06d8.mp4

Steps to Reproduce:

  1. Open https://mathiasbynens.github.io/covid-19-vaccinations-germany/ and observe the repeated layout shifts.
  2. Refresh if you didn’t see it yet :)

Frappé Charts version: frappe-charts@2.0.0-rc14