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:
@@ -416,7 +416,7 @@ describe("AutofillInlineMenuIframeService", () => {
|
||||
"opacity 65ms ease-out 0s",
|
||||
);
|
||||
|
||||
jest.advanceTimersByTime(100);
|
||||
jest.advanceTimersByTime(200);
|
||||
expect(autofillInlineMenuIframeService["iframe"].style.transition).toBe(
|
||||
"opacity 125ms ease-out 0s",
|
||||
);
|
||||
|
||||
@@ -322,7 +322,7 @@ export class AutofillInlineMenuIframeService implements AutofillInlineMenuIframe
|
||||
this.delayedCloseTimeout = globalThis.setTimeout(() => {
|
||||
this.updateElementStyles(this.iframe, { transition: this.fadeInOpacityTransition });
|
||||
this.forceCloseInlineMenu();
|
||||
}, 100);
|
||||
}, 200);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user