Hammer provides a kind of polyfill for the browsers that don't support the touch-action property.

Your browser has support for the touch-action property!
Your browser doesn't support the touch-action property, so we use the polyfill.

touch-action: auto

Should prevent nothing.

touch-action: pan-y

Should prevent scrolling on horizontal movement. This is set by default when creating a Hammer instance.

touch-action: pan-x

Should prevent scrolling on vertical movement.

touch-action: pan-x pan-y

Should not prevent any scrolling on any movement. Horizontal and vertical scrolling handled by the browser directly.

touch-action: none

Should prevent all.

hi.