bitwarden / bitwarden/clients

Firefox sidebar auto-focus master password field and search field

Open
#837 6 comments 11 reactions 0 assignees View on GitHub
browser upstream
Dominant language
TypeScript
Stars
13.8k
Forks
2k
Avg merge
3d 9h
Merged PRs (30d)
393

Description

#299 and its duplicates ask for auto focusing either on the master password entry field when the window opens or the search field when the vault opens. This was prevented by a [bug in Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1324255). This Firefox bug has been fixed and released back in Firefox 60 in May 2018.

Currently in Firefox 64 I see
* When logged in Control-Shift-U opens the popup search and auto focuses the search text box
* When logged in Alt-Shift-U opens the sidebar but does not focus the search text box
* When logged out Control-Shift-U opens the popup master password prompt and auto focuses the text box
* When logged out Alt-Shift-U opens the sidebar but does not focus the master password text box

* Is it expected that the auto focus behavior does not work in the sidebar?
* If so, is it possible to do a similar autofocus step in the sidebar for folks that use that UI instead of the button popup UI?

Contributor guide

Open the contributing guide

Research direction

Reproduce the logged-in and logged-out Firefox sidebar flows described in the issue, using Alt-Shift-U and checking whether the search or master-password field receives focus. Compare them with the corresponding Control-Shift-U popup flows; done means the sidebar behavior is clarified and, if supported, matches the requested autofocus behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.