atmosphere explorer

autofocus login input

handle.invalid a63ab53b d6244a21

verified
+1 -1
+1 -1
src/auth/login.tsx
··· 61 61 id="username" 62 62 name="username" 63 63 autocomplete="username" 64 - autofocus 64 + ref={(el) => setTimeout(() => el.focus())} 65 65 aria-label="Your AT Protocol handle" 66 66 class="grow py-1 select-none placeholder:text-sm focus:outline-none" 67 67 onInput={(e) => setLoginInput(e.currentTarget.value)}