clients icon indicating copy to clipboard operation
clients copied to clipboard

The bitwarden logo shows after login for a few seconds on Firefox (MacOS)

Open joshuataylor opened this issue 1 year ago • 3 comments

Steps To Reproduce

I think this has to do with login forms that use Javascript/AJAX for logging in, as the element isn't immediately destroyed, so the input box might still exist in the DOM?

This is very noticeable for slow logins, but have noticed it on quite a few sites, but most reproducible on OpenWRT.

  1. Open a page that uses AJAX logins
  2. Autofill login, the Bitwarden shield icon should show.
  3. Login
  4. The Bitwarden logo stays for 1-10 seconds. SCR-20240219-swwo

Expected Result

The icon disappears as soon as you click login.

Actual Result

The icon stays

Screenshots or Videos

No response

Additional Context

No response

Operating System

macOS

Operating System Version

Sonoma 14.3.1

Web Browser

Firefox

Browser Version

124.0a1 (2024-02-17) (64-bit)

Build Version

2024.2.0

Issue Tracking Info

  • [X] 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.

joshuataylor avatar Feb 19 '24 13:02 joshuataylor

@joshuataylor

Thanks for providing this bug report. We are aware of some issues present with the inline menu on websites that handle DOM re-hydration through AJAX (Such as in the case of SPAs).

Would you be able to provide some specific examples where you're seeing this issue?

cagonzalezcs avatar Feb 20 '24 15:02 cagonzalezcs

OpenWRT seems to the most prevalent for this, I'll see if I can make a reproducible example, as their LuCI web interface uses stock Bootstrap, so in theory it should be straight forward to reproduce.

joshuataylor avatar Feb 20 '24 15:02 joshuataylor

Thanks for those examples. We do have a PR that intends to resolve a different issue that might also help to resolve this lingering DOM element issue.

https://github.com/bitwarden/clients/pull/7952

Beyond that, we'll take a look at resolving this when possible.

cagonzalezcs avatar Feb 20 '24 15:02 cagonzalezcs