From cf88842db5184a606f3bd2a53a25f7f8280b2539 Mon Sep 17 00:00:00 2001 From: Evgeny Alaev Date: Fri, 25 Oct 2024 17:57:32 +0300 Subject: [PATCH] fix(Highcharts plugin): fix onRender invocation in case of splitted tooltip --- .../highcharts/renderer/components/HighchartsComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/highcharts/renderer/components/HighchartsComponent.tsx b/src/plugins/highcharts/renderer/components/HighchartsComponent.tsx index 0c9c1536..f7a07e90 100644 --- a/src/plugins/highcharts/renderer/components/HighchartsComponent.tsx +++ b/src/plugins/highcharts/renderer/components/HighchartsComponent.tsx @@ -163,7 +163,7 @@ export class HighchartsComponent extends React.PureComponent { constructorType={options?.useHighStock ? 'stockChart' : 'chart'} containerProps={{className: 'chartkit-graph'}} ref={this.chartComponent} - onRender={this.needRenderCallback() && this.props.onRender} + onRender={this.needRenderCallback() ? this.props.onRender : undefined} /> ); }