Skip to content

Instantly share code, notes, and snippets.

@chekit
Created July 25, 2016 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chekit/87e0dd8765125823e28ac592e1bb8397 to your computer and use it in GitHub Desktop.
Save chekit/87e0dd8765125823e28ac592e1bb8397 to your computer and use it in GitHub Desktop.
Settings for Hammer.js

To prevent Hammer.js stop verticall scroll on using swipe use this:

Hammer.defaults.touchAction = 'pan-y';

I've used it on my projects with hammer-angular

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment