Skip to content

Commit 3416c3a

Browse files
authored
fix: isCheckout is not included in fullsnapshot event (rrweb-io#1141)
* fix: isCheckout is not included in fullsnapshot event * add change log
1 parent aaabdbd commit 3416c3a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/stupid-ghosts-help.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'rrweb': patch
3+
---
4+
5+
Fix: isCheckout is missed in all fullsnapshot events

packages/rrweb/src/record/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ function record<T = eventWithTime>(
398398
initialOffset: getWindowScroll(window),
399399
},
400400
}),
401+
isCheckout,
401402
);
402403
mutationBuffers.forEach((buf) => buf.unlock()); // generate & emit any mutations that happened during snapshotting, as can now apply against the newly built mirror
403404

0 commit comments

Comments
 (0)