File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments