@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
package/dist/rrweb-player.cjs
CHANGED
|
@@ -17543,7 +17543,8 @@ class Replayer {
|
|
|
17543
17543
|
const snapshotNode = snapshot(this.iframe.contentDocument, {
|
|
17544
17544
|
mirror: scratchMirror,
|
|
17545
17545
|
blockClass: this.config.blockClass,
|
|
17546
|
-
inlineStylesheet: true
|
|
17546
|
+
inlineStylesheet: true,
|
|
17547
|
+
onAdoptedStyleSheet: (sheet) => this.styleMirror.add(sheet)
|
|
17547
17548
|
});
|
|
17548
17549
|
if (!snapshotNode) return;
|
|
17549
17550
|
const scrollEl = this.iframe.contentDocument.scrollingElement || this.iframe.contentDocument.documentElement;
|