From 314db5e828b1077f62af40032a93f897f16842ec Mon Sep 17 00:00:00 2001 From: Lebedev Konstantin Date: Fri, 17 Feb 2017 10:24:08 +0300 Subject: [PATCH] #1022: + touch-action --- Sortable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sortable.js b/Sortable.js index 8eb1fdb..ec154fe 100644 --- a/Sortable.js +++ b/Sortable.js @@ -67,7 +67,7 @@ $ = win.jQuery || win.Zepto, Polymer = win.Polymer, - captureMode = {capture: false, passive: false}, + captureMode = false, supportDraggable = !!('draggable' in document.createElement('div')), supportCssPointerEvents = (function (el) { @@ -230,7 +230,7 @@ // Export instance el[expando] = this; - + el.style['touch-action'] = 'none'; // #1022 // Default options var defaults = {