Last active
October 10, 2016 14:00
-
-
Save candyan/a048abe577ec7c351a10351209b4f634 to your computer and use it in GitHub Desktop.
zepto.js swipeUp & swipeDown not working on mobile device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add the listener to disable browser scroll. | |
```document.addEventListener('touchmove', function (event) { | |
event.preventDefault(); | |
}, false); | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment