Scroll replayer iframe on firstFullsnapshot (#451)
This commit is contained in:
@@ -236,6 +236,9 @@ export class Replayer {
|
|||||||
this.rebuildFullSnapshot(
|
this.rebuildFullSnapshot(
|
||||||
firstFullsnapshot as fullSnapshotEvent & { timestamp: number },
|
firstFullsnapshot as fullSnapshotEvent & { timestamp: number },
|
||||||
);
|
);
|
||||||
|
this.iframe.contentWindow!.scrollTo(
|
||||||
|
(firstFullsnapshot as fullSnapshotEvent).data.initialOffset,
|
||||||
|
);
|
||||||
}, 1);
|
}, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user