Skip to content

Browser extension search box loses focus #18140

@snagle

Description

@snagle

Steps To Reproduce

  1. Unlock the browser extension.
  2. Set the browser extension timeout interval to “On browser restart”.
  3. Return to the Vault view, and ensure that the Search field has focus.
  4. Close the browser extension window.
  5. Wait for at least 2 hours without closing the browser or opening the browser extension.
  6. Open the browser extension window using the keyboard shortcut Cmd/Ctrl+Shift+Y.
  7. Do not type or click anything until after Step 8 has been completed.
  8. Wait for at least 5 seconds while observing the browser extension window.

Expected Result

When the browser extension window opens the cursor should be in the search box.

Actual Result

The browser extension window opens, the cursor is briefly in the search box for a moment. Then the browser extension window has a brief pause and appears to be 'refreshed' and the cursor disappears from the search box and the search box no longer has focus.

Screenshots or Videos

Image

Pressed cmd-shift-y to open browser extension


Image

search box, blue border with cursor….


Image

this is the ‘brief pause/refresh’ described above


Image

finally, grey border, no cursor. my vault items are displayed below so I cropped those out

Additional Context

Discussion on the bitwarden community site:
https://community.bitwarden.com/t/browser-search-box-loses-focus/92195

Operating System

macOS

Operating System Version

12.6

Web Browser

Chrome

Browser Version

Version 143.0.7499.170 (Official Build) (arm64)

Environment Versions

Version: 2025.12.0

SDK: ‘main (0107af7)’

Server version: 2025.12.1

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions