react-selectable-fast icon indicating copy to clipboard operation
react-selectable-fast copied to clipboard

Scrolling on mobile (touch)

Open bpmct opened this issue 5 years ago • 4 comments

How can I go about allowing normal page scrolling on a mobile touch device? Currently, it will just try to select things in the SelectableGroup since it is full-width?

bpmct avatar Jun 30 '20 05:06 bpmct

I have the same problem. When I try to scroll on mobile is almost impossible. Did you found any workaround to fix this? Could be really helpful

rmacuna avatar Jan 05 '21 01:01 rmacuna

Maybe a way to scroll with two fingers?

heri16 avatar Jan 29 '21 03:01 heri16

Maybe a way to scroll with two fingers?

That would definitely do the trick

rmacuna avatar Jan 30 '21 11:01 rmacuna

Would a change in this line: https://github.com/valerybugakov/react-selectable-fast/blob/b31d776a3805185d6ddb9d32d6eeb133b2492d4e/src/SelectableGroup.tsx#L506 do the trick to detect if it's a touch event and wait a few 100 ms to verify that there is not another couch coming after? If yes, I can do it, is the package still taking PR?

loukmane-issa avatar Oct 13 '21 01:10 loukmane-issa