diff --git a/src/annotator/frame-observer.ts b/src/annotator/frame-observer.ts index b3f41d98859..7f83d47df06 100644 --- a/src/annotator/frame-observer.ts +++ b/src/annotator/frame-observer.ts @@ -69,6 +69,9 @@ export class FrameObserver { frameWindow!.addEventListener('unload', () => { this._removeFrame(frame); }); + frame.addEventListener('load', () => { + this._addFrame(frame); + }); this._onFrameAdded(frame); } catch (e) { console.warn(