From 634156206a9572b65d094ff7f7f483044048189b Mon Sep 17 00:00:00 2001 From: web Date: Sun, 14 Sep 2025 23:18:42 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Simplify=20handleInputBlu?= =?UTF-8?q?r=20function=20by=20removing=20unnecessary=20setTimeout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/src/custom-components/tag-input.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/ui/src/custom-components/tag-input.tsx b/packages/ui/src/custom-components/tag-input.tsx index 09a7155..3dd9179 100644 --- a/packages/ui/src/custom-components/tag-input.tsx +++ b/packages/ui/src/custom-components/tag-input.tsx @@ -85,12 +85,8 @@ export function TagInput({ } function handleInputBlur() { - setTimeout(() => { - if (inputValue.trim()) { - addTag(); - } - setOpen(false); - }, 200); + if (inputValue.trim()) addTag(); + setOpen(false); } function handleRemoveTag(index: number) {