"Should Bitwarden remember this password for you?" prompt field too small in Firefox extension

When logging in to a new website for the first time, a small bar pops up at the top of the webpage for the "Should Bitwarden remember this password prompt, but the window is not sized correctly. I have to scroll way over and down to get to the “yes” button, see attached screenshot. I’m currently using Windows 11, though the issue was also present in Windows 10; and Firefox for Windows 94.0.1.

Is there a fix, or at least a workaround?

Do you happen to have the special anti-fingerprinting preference setting enabled in Firefox?

Doing so will intentionally report a randomized viewport width, which can lead to this sort of issue.

IIRC, the preference is privacy.resistFingerprinting in about:config.

I tried toggling privacy.resistFingerprinting set to both positions, issue persists.

@NeighratorPony This should be fixed in the next release: Fully responsive notificationBar by djsmith85 · Pull Request #2101 · bitwarden/browser · GitHub

@bit Good point about the privacy.resistFingerPrinting setting. Didn’t know that it changed the viewport width. This could still be an issue if the setting is used, not sure if we can do much about it though.

Thanks. I don’t know how easily it is to detect if that setting is enabled. It might be possible to do something hacky like create several iframes with 100% width and see if their size varies, but I don’t think that would quite do it. I haven’t played around with it enough to think of what would be needed.

Probably, at the least, a note in the Bitwarden documentation would make sense. Also, checking that setting could be added to recommended troubleshooting steps.