From e298eee822f79621c6ff4d9322042a89fd1fdefe Mon Sep 17 00:00:00 2001 From: lyzno1 <92089059+lyzno1@users.noreply.github.com> Date: Tue, 12 Aug 2025 09:23:59 +0800 Subject: [PATCH] feat: add select-none class to tag filter components to prevent text selection (#23774) --- web/app/components/base/tag-management/filter.tsx | 6 +++--- .../plugins/marketplace/search-box/tags-filter.tsx | 4 ++-- .../plugins/plugin-page/filter-management/tag-filter.tsx | 4 ++-- web/app/components/tools/labels/filter.tsx | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/app/components/base/tag-management/filter.tsx b/web/app/components/base/tag-management/filter.tsx index 4cf01fdc2..36be04216 100644 --- a/web/app/components/base/tag-management/filter.tsx +++ b/web/app/components/base/tag-management/filter.tsx @@ -79,7 +79,7 @@ const TagFilter: FC = ({ className='block' >
@@ -123,7 +123,7 @@ const TagFilter: FC = ({ {filteredTagList.map(tag => (
selectTag(tag)} >
{tag.name}
@@ -139,7 +139,7 @@ const TagFilter: FC = ({
-
{ +
{ setShowTagManagementModal(true) setOpen(false) }}> diff --git a/web/app/components/plugins/marketplace/search-box/tags-filter.tsx b/web/app/components/plugins/marketplace/search-box/tags-filter.tsx index 12b84490a..2e1f74bc8 100644 --- a/web/app/components/plugins/marketplace/search-box/tags-filter.tsx +++ b/web/app/components/plugins/marketplace/search-box/tags-filter.tsx @@ -54,7 +54,7 @@ const TagsFilter = ({ onClick={() => setOpen(v => !v)} >
(
handleCheck(option.name)} > setOpen(v => !v)}>
@@ -99,7 +99,7 @@ const TagsFilter = ({ filteredOptions.map(option => (
handleCheck(option.name)} > = ({ className='block' >
@@ -111,7 +111,7 @@ const LabelFilter: FC = ({ {filteredLabelList.map(label => (
selectLabel(label)} >
{label.label}