1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

[PM-5189] Working through content script port improvement

This commit is contained in:
Cesar Gonzalez
2024-06-19 04:00:17 -05:00
parent 3a50194f24
commit b4cc133a6e

View File

@@ -1147,6 +1147,11 @@ export class AutofillOverlayContentService implements AutofillOverlayContentServ
this.handleVisibilityChangeEvent,
);
globalThis.removeEventListener(EVENTS.FOCUSOUT, this.handleFormFieldBlurEvent);
globalThis.removeEventListener(EVENTS.FOCUS, this.handleSubFrameFocusInEvent);
globalThis.document.body.removeEventListener(
EVENTS.MOUSEENTER,
this.handleSubFrameFocusInEvent,
);
this.removeOverlayRepositionEventListeners();
}
}