Skip to content

Commit

Permalink
[wallet-ext] auto-focus the password input on the locked screen (Myst…
Browse files Browse the repository at this point in the history
…enLabs#11771)

## Description 
Saw someone ask for this in Discord and thought it would be a nice
addition so users can just type in their password after clicking to open
the extension! Let me know if there are any objections here @mystie711 😄


https://user-images.githubusercontent.com/7453188/236563681-4d529934-e9d3-4194-9cbd-d7244e6145c3.mov

## Test Plan 
- Manual testing

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [X] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
N/A
  • Loading branch information
williamrobertson13 authored May 5, 2023
1 parent 383326f commit 04b4c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/wallet/src/ui/app/wallet/locked-page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default function LockedPage() {
<PasswordInputField
name="password"
disabled={isSubmitting}
autoFocus
/>
{touched.password && errors.password ? (
<Alert>{errors.password}</Alert>
Expand Down

0 comments on commit 04b4c0f

Please sign in to comment.