Open jagribble opened 4 years ago
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)
npm run build
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](https://user-images.githubusercontent.com/20455007/72213025-4c428280-34df-11ea-90d9-34269d586906.gif)
(Have run
npm run build
as required)