Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Add 'manipulation' as a touch-action value
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jun 17, 2014
1 parent cae26e1 commit eb5dfb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/touch-action.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
'pan-x pan-y',
'pan-y pan-x'
]
}
},
'manipulation'
];
var styles = '';
// only install stylesheet if the browser has touch action support
Expand Down
2 changes: 1 addition & 1 deletion src/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
EMITTER: 'none',
XSCROLLER: 'pan-x',
YSCROLLER: 'pan-y',
SCROLLER: /^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/
SCROLLER: /^(?:pan-x pan-y)|(?:pan-y pan-x)|auto|manipulation$/
},
touchActionToScrollType: function(touchAction) {
var t = touchAction;
Expand Down

0 comments on commit eb5dfb3

Please sign in to comment.