diff --git a/web/src/components/input/InputWithTags.tsx b/web/src/components/input/InputWithTags.tsx index c2afd441c..ab31e1808 100644 --- a/web/src/components/input/InputWithTags.tsx +++ b/web/src/components/input/InputWithTags.tsx @@ -763,12 +763,18 @@ export default function InputWithTags({ {inputFocused ? ( setInputFocused(false)} + onClick={() => { + setInputFocused(false); + inputRef.current?.blur(); + }} className="size-4 cursor-pointer text-secondary-foreground" /> ) : ( setInputFocused(true)} + onClick={() => { + setInputFocused(true); + inputRef.current?.focus(); + }} className="size-4 cursor-pointer text-secondary-foreground" /> )} @@ -778,7 +784,9 @@ export default function InputWithTags({ {!currentFilterType && inputValue && (