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

Add event handlers for swipe actions on mobile devices #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cemkavuklu
Copy link

I implemented swipe handlers using an MIT-licensed event library called swiped-events.

Also added overscroll-behavior-y: contain; to html and body tags in the CSS file to prevent default "pull-to-refresh" behavior.

Since the HTML is responsive, I figured people would want to play on their mobile browsers, too (I have been playing on my phone and it is quite fun 😄).

Hope this helps.

Best regards.

Cem.

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.

2 participants