drag: only preventdefault on touchstart in traversing mode (otherwise scroll happens)
This commit is contained in:
parent
c3070b3684
commit
0c37619c01
1 changed files with 2 additions and 1 deletions
|
|
@ -125,10 +125,11 @@
|
|||
|
||||
var self = this,
|
||||
touchStartHandler = function(e){
|
||||
// e.preventDefault()
|
||||
|
||||
var oE = e.originalEvent
|
||||
|
||||
if (!oE.traversing) e.preventDefault()
|
||||
|
||||
for (i in oE.changedTouches) {
|
||||
if (isNaN(i) || !oE.changedTouches[i]) continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue