mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[PM-5189] Fixing issue with programmatic redirection of the inlne menu
This commit is contained in:
@@ -412,18 +412,11 @@ export class AutofillInlineMenuIframeService implements AutofillInlineMenuIframe
|
|||||||
clearTimeout(this.delayedCloseTimeout);
|
clearTimeout(this.delayedCloseTimeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updateElementStyles(this.iframe, {
|
this.updateElementStyles(this.iframe, { opacity: "0", transition: "none" });
|
||||||
opacity: "0",
|
|
||||||
transition: "none",
|
|
||||||
pointerEvents: "none",
|
|
||||||
});
|
|
||||||
|
|
||||||
this.delayedCloseTimeout = globalThis.setTimeout(() => {
|
this.delayedCloseTimeout = globalThis.setTimeout(() => {
|
||||||
this.updateElementStyles(this.iframe, {
|
this.updateElementStyles(this.iframe, { transition: this.defaultOpacityTransition });
|
||||||
transition: this.defaultOpacityTransition,
|
|
||||||
pointerEvents: "auto",
|
|
||||||
});
|
|
||||||
this.forceCloseAutofillInlineMenu();
|
this.forceCloseAutofillInlineMenu();
|
||||||
}, 250);
|
}, 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user