Skip to content

Commit

Permalink
Dashboard - fix touch layout
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
szaimen authored and backportbot[bot] committed Sep 10, 2021
1 parent 4bd98ec commit 7e193c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/dashboard/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<Draggable v-model="layout"
class="panels"
v-bind="{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}"
handle=".panel--header"
@end="saveLayout">
<div v-for="panelId in layout" :key="panels[panelId].id" class="panel">
Expand Down Expand Up @@ -51,6 +52,7 @@
<Draggable v-model="layout"
class="panels"
tag="ol"
v-bind="{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}"
handle=".draggable"
@end="saveLayout">
<li v-for="panel in sortedPanels" :key="panel.id">
Expand Down

0 comments on commit 7e193c8

Please sign in to comment.