From a44fe98cba4266afa26d5502b266a9b6476c8308 Mon Sep 17 00:00:00 2001 From: Przeblysk Date: Fri, 18 Oct 2024 07:53:07 +0800 Subject: [PATCH] feat: expand collapse category by double-clicking (#995) --- apps/renderer/src/modules/feed-column/category.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/renderer/src/modules/feed-column/category.tsx b/apps/renderer/src/modules/feed-column/category.tsx index aa60a602a..108332e2b 100644 --- a/apps/renderer/src/modules/feed-column/category.tsx +++ b/apps/renderer/src/modules/feed-column/category.tsx @@ -102,7 +102,7 @@ function FeedCategoryImpl({ data: ids, view, categoryOpenStateData }: FeedCatego const itemsRef = useRef(null) - const toggleCategoryOpenState = (e: React.MouseEvent) => { + const toggleCategoryOpenState = (e: React.MouseEvent) => { e.stopPropagation() if (!isCategoryEditing) { setCategoryActive() @@ -256,7 +256,7 @@ function FeedCategoryImpl({ data: ids, view, categoryOpenStateData }: FeedCatego ) }} > -
+