@amplitude/rrweb-player 2.0.0-alpha.40 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17538,7 +17538,8 @@ class Replayer {
17538
17538
  const snapshotNode = snapshot(this.iframe.contentDocument, {
17539
17539
  mirror: scratchMirror,
17540
17540
  blockClass: this.config.blockClass,
17541
- inlineStylesheet: true
17541
+ inlineStylesheet: true,
17542
+ onAdoptedStyleSheet: (sheet) => this.styleMirror.add(sheet)
17542
17543
  });
17543
17544
  if (!snapshotNode) return;
17544
17545
  const scrollEl = this.iframe.contentDocument.scrollingElement || this.iframe.contentDocument.documentElement;