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