Chrome 35+, IE10+ and soon FireFox, support the
touch-action property. This property tells the browser how to
handle touches on an element. It improves the detection and experience of the gestures a lot, because it can prevent
By default it sets a value based on the recognizer settings. You can overwrite this by giving the option
to the Manager.
When you set the touchAction to
auto it doesn’t prevent any defaults, and Hammer would probably break. You have to
preventDefault manually to fix this. You should only use this if you know what you’re doing.
If you do want to set your own value, then the table below should help you a bit…
|Gesture||Least restrictive touch-action value|