Prevent accidental task dragging on mobile

Closes #421

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
Raimund Schlüßler 2019-05-23 09:02:23 +02:00
parent 7c1144a642
commit 3df9d6f978
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178

View file

@ -22,7 +22,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<template>
<draggable tag="ol"
:list="['']"
v-bind="{group: 'tasks', swapThreshold: 0.30}"
v-bind="{group: 'tasks', swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}"
:move="onMove"
@end="onEnd"
>