Skip to content

Commit

Permalink
fix(Highcharts plugin): fix onRender invocation in case of splitted t…
Browse files Browse the repository at this point in the history
…ooltip (#533)
  • Loading branch information
korvin89 authored Oct 25, 2024
1 parent 36d1b3b commit e81492f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class HighchartsComponent extends React.PureComponent<Props, State> {
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}
/>
);
}
Expand Down

0 comments on commit e81492f

Please sign in to comment.