mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 12:13:45 +00:00
[PM-5189] Fixing an issue found when switching between open windows
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user