diff --git a/Sortable.js b/Sortable.js index 3bc16dd..d3fb22c 100644 --- a/Sortable.js +++ b/Sortable.js @@ -458,6 +458,8 @@ dy = touch.clientY - tapEvt.clientY, translate3d = evt.touches ? 'translate3d(' + dx + 'px,' + dy + 'px,0)' : 'translate(' + dx + 'px,' + dy + 'px)'; + moved = true; + touchEvt = touch; moved = true; @@ -553,6 +555,8 @@ !options.dragoverBubble && evt.stopPropagation(); } + moved = true; + if (activeGroup && !options.disabled && (isOwner ? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list