From 5a1e061778b774e2596d9d851442454117cdd9f0 Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Wed, 5 Jun 2024 05:02:12 -0500 Subject: [PATCH] [PM-5189] Fixing issue with programmatic redirection of the inlne menu --- .../autofill-inline-menu-iframe.service.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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 3204727f0d..28611f5660 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 @@ -412,18 +412,11 @@ export class AutofillInlineMenuIframeService implements AutofillInlineMenuIframe clearTimeout(this.delayedCloseTimeout); } - this.updateElementStyles(this.iframe, { - opacity: "0", - transition: "none", - pointerEvents: "none", - }); + this.updateElementStyles(this.iframe, { opacity: "0", transition: "none" }); this.delayedCloseTimeout = globalThis.setTimeout(() => { - this.updateElementStyles(this.iframe, { - transition: this.defaultOpacityTransition, - pointerEvents: "auto", - }); + this.updateElementStyles(this.iframe, { transition: this.defaultOpacityTransition }); this.forceCloseAutofillInlineMenu(); - }, 250); + }, 100); } }