Skip to content

Commit

Permalink
feat: 현재 프로젝트 생성 단계에 focus 되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
surinkwon committed Jun 11, 2024
1 parent 554703d commit c254a64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/projects/ProjectCreateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ const ProjectCreateInput = ({
useEffect(() => {
if (!targetStepIsCurrentStep) {
inputRef.current?.blur();
} else {
setTimeout(() => {
inputRef.current?.focus();
}, 1000);
}
}, [targetStepIsCurrentStep]);

Expand Down

0 comments on commit c254a64

Please sign in to comment.