@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.
- package/dist/rrweb-player.cjs +2 -1
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +2 -1
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +2 -1
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs +1 -1
- package/dist/rrweb-player.umd.min.cjs.map +2 -2
- package/package.json +5 -5
|
@@ -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;
|