From 72a77aa01719867571b284732412958e58805f72 Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Tue, 11 Jun 2024 16:37:15 -0500 Subject: [PATCH] [PM-5189] Increasing the time we delay the closure of the inline menu --- .../iframe-content/autofill-inline-menu-iframe.service.spec.ts | 2 +- .../iframe-content/autofill-inline-menu-iframe.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.spec.ts b/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.spec.ts index 231cf10b63f..cedbb430e63 100644 --- a/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.spec.ts +++ b/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.spec.ts @@ -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", ); diff --git a/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.ts b/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.ts index ac69b5b620c..aaa629bc67b 100644 --- a/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.ts +++ b/apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.ts @@ -322,7 +322,7 @@ export class AutofillInlineMenuIframeService implements AutofillInlineMenuIframe this.delayedCloseTimeout = globalThis.setTimeout(() => { this.updateElementStyles(this.iframe, { transition: this.fadeInOpacityTransition }); this.forceCloseInlineMenu(); - }, 100); + }, 200); } /**