Skip to content

Commit c5f4982

Browse files
committed
test
1 parent 6ec5a08 commit c5f4982

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/chart-api/chart-extra-pointer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ export class ChartExtraPointer {
3434

3535
public onChartLoad = (chart: Highcharts.Chart) => {
3636
chart.container.addEventListener("mousemove", this.onChartMousemove);
37-
chart.container.addEventListener("mouseout", this.onChartMouseout);
37+
chart.container.addEventListener("mouseleave", this.onChartMouseout);
3838
};
3939

4040
public onChartDestroy = () => {
4141
this.context.chartOrNull?.container?.removeEventListener("mousemove", this.onChartMousemove);
42-
this.context.chartOrNull?.container?.removeEventListener("mouseout", this.onChartMouseout);
42+
this.context.chartOrNull?.container?.removeEventListener("mouseleave", this.onChartMouseout);
4343
};
4444

4545
// This event is triggered by Highcharts when the cursor is over a Highcharts point. We leave this to

0 commit comments

Comments
 (0)