1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

[PM-5189] Increasing the time we delay the closure of the inline menu

This commit is contained in:
Cesar Gonzalez
2024-06-11 16:37:15 -05:00
parent 2134dc9954
commit 72a77aa017
2 changed files with 2 additions and 2 deletions

View File

@@ -416,7 +416,7 @@ describe("AutofillInlineMenuIframeService", () => {
"opacity 65ms ease-out 0s", "opacity 65ms ease-out 0s",
); );
jest.advanceTimersByTime(100); jest.advanceTimersByTime(200);
expect(autofillInlineMenuIframeService["iframe"].style.transition).toBe( expect(autofillInlineMenuIframeService["iframe"].style.transition).toBe(
"opacity 125ms ease-out 0s", "opacity 125ms ease-out 0s",
); );

View File

@@ -322,7 +322,7 @@ export class AutofillInlineMenuIframeService implements AutofillInlineMenuIframe
this.delayedCloseTimeout = globalThis.setTimeout(() => { this.delayedCloseTimeout = globalThis.setTimeout(() => {
this.updateElementStyles(this.iframe, { transition: this.fadeInOpacityTransition }); this.updateElementStyles(this.iframe, { transition: this.fadeInOpacityTransition });
this.forceCloseInlineMenu(); this.forceCloseInlineMenu();
}, 100); }, 200);
} }
/** /**