We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a637ef commit 2370c68Copy full SHA for 2370c68
src/pages/Login.tsx
@@ -48,6 +48,9 @@ export default function Login() {
48
const handleLogin = async (e: React.FormEvent<HTMLFormElement>) => {
49
e.preventDefault();
50
51
+ // 현재 포커스된 요소의 포커스 제거
52
+ (document.activeElement as HTMLElement | null)?.blur();
53
+
54
const trimmedId = userId.trim();
55
const trimmedPassword = userPassword.trim();
56
0 commit comments