react-highcharts icon indicating copy to clipboard operation
react-highcharts copied to clipboard

React-HighCharts propagates native browser event when using `plotOptions.series.events` config property.

Open suaradial opened this issue 9 years ago • 2 comments

plotOptions: {
        series: {
          events: { 
            mouseOver: (e) => { console.log(e) }
          }
        },

When tying an event handler to this highcharts config hook (tested for both mouseOver and onClick, the event is a native browser event. The expected be a synthetic React event.

suaradial avatar Sep 25 '17 19:09 suaradial

This is a problem for me. I need to update state based on a click event on a specific point.

andrewvanhemelrijck avatar Nov 30 '17 16:11 andrewvanhemelrijck

Closing and there has been no activity in this issue for a while. if this is still relevant, please feel free to reopen

kirjs avatar Oct 13 '19 19:10 kirjs