react-liquidswipe
react-liquidswipe copied to clipboard
Touch gestures on Mobile
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.