From ad81037a778a27d075811fec0854ecf8f28402ae Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sun, 22 Feb 2026 23:26:49 +0900 Subject: [PATCH] #103 --- frontend/src/components/PostFormTagsArea.tsx | 24 +++++++++++++------- frontend/src/lib/utils.ts | 9 ++++---- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/PostFormTagsArea.tsx b/frontend/src/components/PostFormTagsArea.tsx index ee45f40..c7775af 100644 --- a/frontend/src/components/PostFormTagsArea.tsx +++ b/frontend/src/components/PostFormTagsArea.tsx @@ -38,6 +38,7 @@ export default (({ tags, setTags }: Props) => { const ref = useRef (null) const [bounds, setBounds] = useState<{ start: number; end: number }> ({ start: 0, end: 0 }) + const [focused, setFocused] = useState (false) const [suggestions, setSuggestions] = useState ([]) const [suggestionsVsbl, setSuggestionsVsbl] = useState (false) @@ -70,7 +71,7 @@ export default (({ tags, setTags }: Props) => { } return ( -
+