From c254a64d94549bae240aee8d44491953f5e533d6 Mon Sep 17 00:00:00 2001 From: surinkwon Date: Tue, 11 Jun 2024 22:02:40 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=98=84=EC=9E=AC=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=EC=A0=9D=ED=8A=B8=20=EC=83=9D=EC=84=B1=20=EB=8B=A8=EA=B3=84?= =?UTF-8?q?=EC=97=90=20focus=20=EB=90=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/projects/ProjectCreateInput.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/projects/ProjectCreateInput.tsx b/frontend/src/components/projects/ProjectCreateInput.tsx index 71ae06d..e88cb8a 100644 --- a/frontend/src/components/projects/ProjectCreateInput.tsx +++ b/frontend/src/components/projects/ProjectCreateInput.tsx @@ -65,6 +65,10 @@ const ProjectCreateInput = ({ useEffect(() => { if (!targetStepIsCurrentStep) { inputRef.current?.blur(); + } else { + setTimeout(() => { + inputRef.current?.focus(); + }, 1000); } }, [targetStepIsCurrentStep]);