mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-30 03:20:42 -05:00
fix: add touch CSS properties to list view for mobile drag-and-drop
Adds user-select, touch-action, and webkit-touch-callout CSS to the list view's draggable task items, matching what KanbanCard.vue already has. Without these properties, the browser's native long-press text selection fires before SortableJS's 1-second touch delay expires, preventing drag from ever starting on mobile devices. Ref: https://community.vikunja.io/t/missing-positioning-option-in-list-view/4278
This commit is contained in:
@@ -375,6 +375,9 @@ onBeforeUnmount(() => {
|
||||
|
||||
:deep(.tasks:not(.dragging-disabled) .single-task) {
|
||||
cursor: grab;
|
||||
-webkit-touch-callout: none;
|
||||
user-select: none;
|
||||
touch-action: manipulation;
|
||||
|
||||
&:active {
|
||||
cursor: grabbing;
|
||||
|
||||
Reference in New Issue
Block a user