Bugfix when using ShadowDOM along with regular DOM
This commit is contained in:
parent
6e3fdaa718
commit
f3597cbbb1
@ -199,7 +199,10 @@ export function render(vnode, opts = {}) {
|
|||||||
}
|
}
|
||||||
queuedItems.push(child);
|
queuedItems.push(child);
|
||||||
}
|
}
|
||||||
previous = child.item;
|
if(!child.meta.renderer.remove){
|
||||||
|
// If child is a node-type item track it as the previous (so we can insert next node-type items after it as intended)
|
||||||
|
previous = child.item;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
while(oldChildren && oldChildren.length){
|
while(oldChildren && oldChildren.length){
|
||||||
let oldChild = oldChildren.splice(0,1)[0];
|
let oldChild = oldChildren.splice(0,1)[0];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user