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:
parent
b2ab42e1a4
commit
5a1e061778
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user