1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-24 21:41:33 +01:00

[PM-5189] Fixing issue with programmatic redirection of the inlne menu

This commit is contained in:
Cesar Gonzalez 2024-06-05 05:02:12 -05:00
parent b2ab42e1a4
commit 5a1e061778
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF

View File

@ -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);
}
}