Permalink
Browse files

* allow requireTouchmove property to be set via dragging (note: this …

…property exists to signal that a touchmove should go unprevented (needed to support native scrolling) and it's used within a hierarchy that would otherwise prevent touchmove).
  • Loading branch information...
1 parent ff7750f commit 19b550519637387cdc6fa45906dadddf4f4beb6a Steve Orvell committed Mar 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 source/dom/drag.js
View
@@ -61,6 +61,7 @@ enyo.gesture.drag = {
this.sendDrag(e);
} else if (this.dy*this.dy + this.dx*this.dx >= this.hysteresisSquared) {
this.sendDragStart(e);
+ e.requireTouchmove = this.dragEvent.requireTouchmove;
this.cancelHold();
}
}

0 comments on commit 19b5505

Please sign in to comment.