From 9caa0e3ce17599d27be70ce7aefde704a0de6984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20R=C3=BCsch?= Date: Wed, 27 Dec 2023 23:38:48 +0100 Subject: [PATCH] Fix delete button problems --- .../BacklogView/Issue/DeleteButton.tsx | 21 +++++++++++-------- .../BacklogView/Issue/IssueCard.tsx | 2 +- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/components/BacklogView/Issue/DeleteButton.tsx b/src/components/BacklogView/Issue/DeleteButton.tsx index 8a9d0382..25793850 100644 --- a/src/components/BacklogView/Issue/DeleteButton.tsx +++ b/src/components/BacklogView/Issue/DeleteButton.tsx @@ -23,9 +23,9 @@ export function DeleteButton({ }, [mounted, hovered]) return ( - + @@ -58,13 +59,15 @@ export function DeleteButton({ background: colorScheme === "dark" ? theme.colors.dark[7] : theme.white, })} > -
+ e.stopPropagation()} + /> setIssuePopoverOpened(false)} diff --git a/src/components/BacklogView/Issue/IssueCard.tsx b/src/components/BacklogView/Issue/IssueCard.tsx index 2369d1f4..d1ec4f50 100644 --- a/src/components/BacklogView/Issue/IssueCard.tsx +++ b/src/components/BacklogView/Issue/IssueCard.tsx @@ -69,7 +69,7 @@ export function IssueCard({