From 4a3e4cd0a4f1091a47eef4d23715ff5e471bc37a Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Mon, 27 Jul 2026 16:57:48 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20restore=20drag-and-drop=20+=20onPointerD?= =?UTF-8?q?own=20stopPropagation=20on=20button=20=E2=80=94=20both=20work?= =?UTF-8?q?=20on=20all=20resolutions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/contacts/ContactFolderTree.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/components/contacts/ContactFolderTree.tsx b/frontend/src/components/contacts/ContactFolderTree.tsx index 2fde11c..3d23ffe 100644 --- a/frontend/src/components/contacts/ContactFolderTree.tsx +++ b/frontend/src/components/contacts/ContactFolderTree.tsx @@ -153,6 +153,11 @@ function FolderTreeItem({ return (
{ + e.dataTransfer.setData('text/folder-id', node.id); + e.dataTransfer.effectAllowed = 'move'; + }} onDragOver={(e) => onDragOver(e, node.id)} onDragLeave={() => onDragLeave(node.id)} onDrop={(e) => onDrop(e, node.id)} @@ -179,6 +184,8 @@ function FolderTreeItem({ )}