LedgerHQ/ledger-live-desktop

When password protected, Ledger Live Lock Screen does not focus on password field on startup

tomav opened this issue · 0 comments

tomav commented

Ledger Live Version and Operating System

  • Tested on Ledger Live 2.40.2
  • Platform and version: Mac 11.6.1

Expected behavior

When Ledger Live is password protected, I would expect the password field to focus by default, or when I start to type my password.
Looking at the code, the second option (on KeyDown) has been partially implemented but the there's no id associated to this field, so it can't work.

I notice this every time I use the app and shout out loud "but why??".

So I'll push a fix in the coming minutes.

Actual behavior

No autofocus on password field, user has to click tu field before typing his password.

Steps to reproduce the behavior

  • Given Ledger Live is password protected
  • When I open the app
  • Then I should see the lock screen
  • When I start to type my password
  • Then the password field should be filled <= This fails.