[PR #1987] [MERGED] fix(frontend): require 1s press-and-hold to drag tasks on mobile #3848

Closed
opened 2026-03-22 14:55:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1987
Author: @kolaente
Created: 12/15/2025
Status: Merged
Merged: 12/15/2025
Merged by: @kolaente

Base: mainHead: fix-drag-tasks-mobile


📝 Commits (1)

  • 570cefb fix(frontend): require 1s press-and-hold to drag tasks on mobile

📊 Changes

2 files changed (+3 additions, -1 deletions)

View changed files

📝 frontend/src/components/project/views/ProjectKanban.vue (+1 -1)
📝 frontend/src/components/project/views/ProjectList.vue (+2 -0)

📄 Description

Summary

  • Adds a 1-second press-and-hold delay before drag mode activates on touch devices
  • Allows users to tap tasks to open them on mobile without accidentally triggering drag mode
  • Only affects touch devices (desktop behavior unchanged via delayOnTouchOnly)

Fixes #1986

Test plan

  • On mobile/touch device: tap a task → should open the task detail view
  • On mobile/touch device: press and hold a task for 1 second → should enter drag mode
  • On desktop: drag behavior should remain unchanged (no delay)
  • Test on both List view and Kanban view

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1987 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 12/15/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `fix-drag-tasks-mobile` --- ### 📝 Commits (1) - [`570cefb`](https://github.com/go-vikunja/vikunja/commit/570cefb9604afb5a4c49ad99a3906982563b04b5) fix(frontend): require 1s press-and-hold to drag tasks on mobile ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/project/views/ProjectKanban.vue` (+1 -1) 📝 `frontend/src/components/project/views/ProjectList.vue` (+2 -0) </details> ### 📄 Description ## Summary - Adds a 1-second press-and-hold delay before drag mode activates on touch devices - Allows users to tap tasks to open them on mobile without accidentally triggering drag mode - Only affects touch devices (desktop behavior unchanged via `delayOnTouchOnly`) Fixes #1986 ## Test plan - [ ] On mobile/touch device: tap a task → should open the task detail view - [ ] On mobile/touch device: press and hold a task for 1 second → should enter drag mode - [ ] On desktop: drag behavior should remain unchanged (no delay) - [ ] Test on both List view and Kanban view --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 14:55:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#3848