From f86be0adf057c05a9339734efd11f8d318a26c18 Mon Sep 17 00:00:00 2001 From: Sprite Date: Sat, 10 Jan 2026 22:18:05 +0000 Subject: [PATCH] fix(attachments): only show dropzone overlay for file drags, not text drags Replaced useDropZone from VueUse with custom drag event handlers that check dataTransfer.types for 'Files' before calling preventDefault(). The key fix is in handleDragOver - by only preventing default for actual file drags, native text dragging operations are no longer blocked. Fixes #1663 Co-Authored-By: Claude Opus 4.5 --- .../components/tasks/partials/Attachments.vue | 132 +++++++++++++----- 1 file changed, 95 insertions(+), 37 deletions(-) diff --git a/frontend/src/components/tasks/partials/Attachments.vue b/frontend/src/components/tasks/partials/Attachments.vue index 0b25fe0de..f838742b2 100644 --- a/frontend/src/components/tasks/partials/Attachments.vue +++ b/frontend/src/components/tasks/partials/Attachments.vue @@ -172,8 +172,7 @@