react-timeseries-charts
react-timeseries-charts copied to clipboard
Update Brush to allow for mobile use with touch
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.
(Have run npm run build
as required)