Currently, I am working on a project where I have styled v-cloak with display: none
, and it is decorating the body. As a result, everything remains hidden until the Vue instance is ready.
I have created a component that inserts a chart (using highcharts). This component is inserted when the document is ready
, but unfortunately, the chart is not displaying correctly.
You can view a simplified version of the issue in this jsfiddle.
While one way to overcome this problem could be to constantly check if the element is displayed before rendering the chart, I am wondering if there might be a more elegant solution available?