From af4859d472e8cf18f98f4b0c5b4dd8619561db50 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Thu, 6 Mar 2025 22:28:35 -0800 Subject: [PATCH] Fix taginput blur effect --- src/components/TagInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TagInput.tsx b/src/components/TagInput.tsx index c8ad299a..42c0b7c6 100644 --- a/src/components/TagInput.tsx +++ b/src/components/TagInput.tsx @@ -233,8 +233,8 @@ export default function TagInput({ className="flex flex-col w-full group" onFocus={() => setShouldShowMenu(true)} onBlur={e => { - setInputText(''); if (!e.currentTarget.contains(e.relatedTarget)) { + setInputText(''); hideMenu(); } }}