From 6e00097a573d026c5faa91600153b364134d1d04 Mon Sep 17 00:00:00 2001 From: mymindstorm Date: Wed, 13 Jan 2021 21:26:41 -0600 Subject: [PATCH] Fix EnterPasswordPage autofocus (#573) --- src/components/Popup/EnterPasswordPage.vue | 1 + src/components/common/TextInput.vue | 13 +++++++++++-- src/test/components/Popup/EnterPasswordPage.ts | 16 ++++++++++++++-- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/components/Popup/EnterPasswordPage.vue b/src/components/Popup/EnterPasswordPage.vue index bfe0ede09..06ec69aa9 100644 --- a/src/components/Popup/EnterPasswordPage.vue +++ b/src/components/Popup/EnterPasswordPage.vue @@ -6,6 +6,7 @@ v-model="password" @enter="applyPassphrase()" :class="{ badInput: wrongPassword }" + :autofocus="true" />