mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-09 19:28:06 +01:00
[PM-5189] Fixing an issue found when switching between open windows
This commit is contained in:
parent
a44f594e6d
commit
2bfe1c70ed
@ -273,6 +273,9 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
||||
return inlineMenuCipherData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the currently focused field and closes the inline menu on that tab.
|
||||
*/
|
||||
private async closeInlineMenuAfterCiphersUpdate() {
|
||||
const focusedFieldTab = await BrowserApi.getTab(this.focusedFieldData.tabId);
|
||||
this.closeInlineMenu({ tab: focusedFieldTab }, { forceCloseInlineMenu: true });
|
||||
|
Loading…
Reference in New Issue
Block a user