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

Commit

Permalink
Disable Chrome-only touchevent touch-action
Browse files Browse the repository at this point in the history
Behavior deviates too significantly from PE touch-action for now
Filed Chrome bug http://crbug.com/399765 to track
  • Loading branch information
dfreedm committed Aug 4, 2014
1 parent 810c589 commit c9a0710
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
var CLICK_COUNT_TIMEOUT = 200;
var HYSTERESIS = 20;
var ATTRIB = 'touch-action';
var HAS_TOUCH_ACTION = ATTRIB in document.head.style;
// TODO(dfreedm): disable until http://crbug.com/399765 is resolved
// var HAS_TOUCH_ACTION = ATTRIB in document.head.style;
var HAS_TOUCH_ACTION = false;

// handler block for native touch events
var touchEvents = {
Expand Down

0 comments on commit c9a0710

Please sign in to comment.