Skip to content

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

focus password input on enter

ammarahm-ed31e7aa3265d1
diff --git a/apps/mobile/src/components/auth/login.js b/apps/mobile/src/components/auth/login.js
index 0a9fa4289..25d695275 100644
--- a/apps/mobile/src/components/auth/login.js
+++ b/apps/mobile/src/components/auth/login.js
@@ -218,7 +218,9 @@ export const Login = ({ changeMode }) => {
autoCapitalize="none"
errorMessage="Email is invalid"
placeholder="Email"
- onSubmit={() => {}}
+ onSubmit={() => {
+ passwordInputRef.current?.focus();
+ }}
/>
<Input