We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63dccba commit 1da05e9Copy full SHA for 1da05e9
1 file changed
src/components/Main/NavigationBar/AppList.vue
@@ -44,6 +44,7 @@ import CloseButton from '/@/components/UI/CloseButton.vue'
44
import useGridLayout from '/@/composables/dom/useGridLayout'
45
import { useSortable } from '/@/composables/dom/useSortable'
46
import { useAppList } from '/@/store/ui/appList'
47
+import { isTouchDevice } from '/@/lib/dom/browser'
48
49
const emit = defineEmits<{
50
(e: 'close'): void
@@ -55,7 +56,8 @@ const { containerRef } = useSortable({
55
56
set: sortable => {
57
updateAppOrder(sortable.toArray())
58
}
- }
59
+ },
60
+ delay: isTouchDevice() ? 200 : 0
61
})
62
const { columnCount } = useGridLayout(containerRef, { columnCount: 0 })
63
0 commit comments