Fix: Switch to real dom before rebuilding fullsnapshot (#1139)
This commit is contained in:
@@ -491,7 +491,7 @@ function diffChildren(
|
||||
} else if (newStartIndex > newEndIndex) {
|
||||
for (; oldStartIndex <= oldEndIndex; oldStartIndex++) {
|
||||
const node = oldChildren[oldStartIndex];
|
||||
if (!node || !parentNode.contains(node)) continue;
|
||||
if (!node || node.parentNode !== parentNode) continue;
|
||||
try {
|
||||
parentNode.removeChild(node);
|
||||
replayer.mirror.removeNodeFromMap(node);
|
||||
|
||||
Reference in New Issue
Block a user