react-timeseries-charts icon indicating copy to clipboard operation
react-timeseries-charts copied to clipboard

Update Brush to allow for mobile use with touch

Open jagribble opened this issue 5 years ago • 0 comments

Fix to issue #206

Simply updated the brush component to use:

  • touchstart
  • touchend
  • touchmove

Have also had to adjust how the pageX & pageY values are retrieved based on the type (mouse or touch) due to the different events.

This is it working on my device. React-timeseries-touch-demo

(Have run npm run build as required)

jagribble avatar Jan 12 '20 02:01 jagribble