Skip to content

Commit bb52cb1

Browse files
committed
container.Base: createItem() => when removing existing instances from different parents, delete potential removeDom flags #6691
1 parent 06a5fe5 commit bb52cb1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/container/Base.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ class Container extends Component {
331331
parent = item.parent;
332332

333333
if (parent && parent !== me) {
334-
parent.remove(item, false)
334+
parent.remove(item, false);
335+
delete item.vdom.removeDom
335336
}
336337

337338
item.set(config);

0 commit comments

Comments
 (0)