Compare commits

...
This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.

1 Commits
main ... main

Author SHA1 Message Date
simon1506 8a9a5576c6
fix: no drag delay when using mouse on touch device 2021-09-13 18:26:56 +02:00
1 changed files with 2 additions and 5 deletions

View File

@ -232,7 +232,6 @@
</template>
<script>
import isTouchDevice from 'is-touch-device'
import draggable from 'vuedraggable'
import BucketModel from '../../../models/bucket'
@ -315,10 +314,8 @@ export default {
animation: 150,
ghostClass: 'ghost',
dragClass: 'task-dragging',
}
if (isTouchDevice()) {
options.delay = 150
delay: 150,
delayOnTouchOnly: true,
}
return options