ignore removed move set

This commit is contained in:
Yanzhen Yu
2020-10-23 13:40:13 +08:00
parent 07ff4db2a6
commit 7c04765752
2 changed files with 7 additions and 1 deletions

View File

@@ -227,6 +227,12 @@ export default class MutationBuffer {
}
for (const n of this.movedSet) {
if (
isParentRemoved(this.removes, n) &&
!this.movedSet.has(n.parentNode!)
) {
continue;
}
pushAdd(n);
}