diff --git a/packages/charts/src/components/chart_status.tsx b/packages/charts/src/components/chart_status.tsx index 6475fb9167..efac78d2a7 100644 --- a/packages/charts/src/components/chart_status.tsx +++ b/packages/charts/src/components/chart_status.tsx @@ -38,7 +38,12 @@ class ChartStatusComponent extends React.Component { } dispatchRenderChange = () => { - this.props.onRenderChange?.(this.props.rendered); + const { onRenderChange, rendered } = this.props; + if (onRenderChange) { + window.requestAnimationFrame(() => { + onRenderChange(rendered); + }); + } }; render() {