fix: isCheckout is not included in fullsnapshot event (#1141)
* fix: isCheckout is not included in fullsnapshot event * add change log
This commit is contained in:
5
.changeset/stupid-ghosts-help.md
Normal file
5
.changeset/stupid-ghosts-help.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'rrweb': patch
|
||||
---
|
||||
|
||||
Fix: isCheckout is missed in all fullsnapshot events
|
||||
@@ -398,6 +398,7 @@ function record<T = eventWithTime>(
|
||||
initialOffset: getWindowScroll(window),
|
||||
},
|
||||
}),
|
||||
isCheckout,
|
||||
);
|
||||
mutationBuffers.forEach((buf) => buf.unlock()); // generate & emit any mutations that happened during snapshotting, as can now apply against the newly built mirror
|
||||
|
||||
|
||||
Reference in New Issue
Block a user