From d3e7d171e4ec70ab3c283b27f7146ce90c4e7b83 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Wed, 17 Sep 2025 11:52:20 +0200 Subject: [PATCH] fix: hide action buttons in TaskCard during title editing - Updated TaskCard to conditionally render edit and delete buttons only when not in editing mode, improving user experience by preventing accidental actions while editing. --- components/kanban/TaskCard.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/components/kanban/TaskCard.tsx b/components/kanban/TaskCard.tsx index e4060ef..e80b799 100644 --- a/components/kanban/TaskCard.tsx +++ b/components/kanban/TaskCard.tsx @@ -205,8 +205,8 @@ export function TaskCard({ task, onDelete, onEdit, onUpdateTitle, compactView = )}
- {/* Boutons d'action compacts */} - {onEdit && ( + {/* Boutons d'action compacts - masqués en mode édition */} + {!isEditingTitle && onEdit && (