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

TouchScrollable disabled onTouchMove events on inner content

Open Krasnopir opened this issue 5 years ago • 1 comments

when TouchScrollable element has scroll, onTouchStart and onTouchEnd events work, but onTouchMove don't work

https://codesandbox.io/s/mj0kx3zm8x

Krasnopir avatar Feb 21 '19 17:02 Krasnopir

https://github.com/jossmac/react-scrolllock/blob/90cbf33d27b9fd0b9911cdf371c4466874ee9a10/src/utils.js#L22

I'm having the same issue. This line of code, which seems to be required for enabling touch-scrolling, prevents components like the Material UI Slider from being used on touch devices inside of <TouchScrollable />.

Can you please help me fix this?

renet avatar Dec 09 '19 16:12 renet