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:
Yun Feng
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 7a372f1017
commit 0d6be523a4
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
'rrweb': patch
---
Fix: isCheckout is missed in all fullsnapshot events

View File

@@ -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