1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

prefer animation frame over arbitrary time

This commit is contained in:
jaasen-livefront
2025-02-07 12:45:31 -08:00
parent 1bf917c08a
commit 935bdde2b3

View File

@@ -278,6 +278,7 @@ export class VaultPopupAutofillService {
}
// Slight delay to fix bug in Chromium browsers where popup closes without copying totp to clipboard
// requestAnimationFrame(() => BrowserApi.closePopup(window));
setTimeout(() => BrowserApi.closePopup(window), 50);
}