From 5af24c88d69b24c12065674d6eba0d47903c6d1f Mon Sep 17 00:00:00 2001 From: Ou Date: Fri, 22 Nov 2024 01:08:49 +0800 Subject: [PATCH] fix: cannot dnd in firefox --- src/components/column/card.tsx | 4 ++-- src/components/common/dnd/useSortable.ts | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/column/card.tsx b/src/components/column/card.tsx index 9274292..94b20ca 100644 --- a/src/components/column/card.tsx +++ b/src/components/column/card.tsx @@ -140,10 +140,10 @@ function NewsCard({ id, setHandleRef }: NewsCardProps) { className={$("btn", isFocused ? "i-ph:star-fill" : "i-ph:star-duotone")} onClick={toggleFocus} /> + {/* firefox cannot drag a button */} {setHandleRef && ( -