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

Touch gestures on Mobile

Open SGarcia710 opened this issue 3 years ago • 0 comments

Based on useDrag documentation, to be able to use touch gestures we need to put the useTouch as true when we are on mobile/tablet, and also the touch-action: pan-y; allow us to do the gesture instead of a scroll.

I also added some styles to make the footer to be centered and also to hide that outline from the drag button (that's pretty annoying).

PD: On the web browser responsive tools, everything works fine, but if you go to mobile safari or chrome, you're going to see everything working bad and glitchy. I think there's more job to do there.

SGarcia710 avatar Mar 03 '21 11:03 SGarcia710