Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch gestures on Mobile #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SGarcia710
Copy link

@SGarcia710 SGarcia710 commented Mar 3, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant