Autofocus on email input box when email sign-in selected on web app

This commit is contained in:
Debanjum
2024-12-23 17:03:32 -08:00
parent fb111a944b
commit 17f8ba732d

View File

@@ -299,6 +299,7 @@ function EmailSignInContext({
className="p-6 w-[300px] mx-auto rounded-lg"
disabled={checkEmail}
value={email}
autoFocus={true}
onKeyDown={(e) => {
if (e.key === "Enter") {
handleMagicLinkSignIn();