1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-03 04:25:24 +02:00

fix: Add Touch Delay to Draggable on Touch Pads (#4440)

This commit is contained in:
Michael Genson 2024-10-24 11:24:42 -05:00 committed by GitHub
parent 302002d630
commit fdb5ff9ec0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 27 additions and 2 deletions

View file

@ -53,7 +53,14 @@
<!-- Cookbook List -->
<v-expansion-panels class="mt-2">
<draggable v-model="cookbooks" handle=".handle" style="width: 100%" @change="actions.updateOrder()">
<draggable
v-model="cookbooks"
handle=".handle"
delay="250"
delay-on-touch-only
style="width: 100%"
@change="actions.updateOrder()"
>
<v-expansion-panel v-for="cookbook in cookbooks" :key="cookbook.id" class="my-2 left-border rounded">
<v-expansion-panel-header disable-icon-rotate class="headline">
<div class="d-flex align-center">