diff --git a/src/replay/index.ts b/src/replay/index.ts index ca506b24..6d570500 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -236,6 +236,9 @@ export class Replayer { this.rebuildFullSnapshot( firstFullsnapshot as fullSnapshotEvent & { timestamp: number }, ); + this.iframe.contentWindow!.scrollTo( + (firstFullsnapshot as fullSnapshotEvent).data.initialOffset, + ); }, 1); } }