Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix password input not focused automatically on login

Ammar Ahmedda86cbbe326f
diff --git a/apps/mobile/app/components/auth/use-login.js b/apps/mobile/app/components/auth/use-login.js
index 00dfbd76d..0db1b0559 100644
--- a/apps/mobile/app/components/auth/use-login.js
+++ b/apps/mobile/app/components/auth/use-login.js
@@ -83,7 +83,7 @@ export const useLogin = (onFinishLogin, sessionExpired = false) => {
setLoading(false);
setTimeout(() => {
passwordInputRef.current?.focus();
- }, 1);
+ }, 500);
callback && callback(true);
}
callback && callback(false);