Bugfix when using ShadowDOM along with regular DOM
This commit is contained in:
parent
6e3fdaa718
commit
f3597cbbb1
@ -199,8 +199,11 @@ export function render(vnode, opts = {}) {
|
||||
}
|
||||
queuedItems.push(child);
|
||||
}
|
||||
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){
|
||||
let oldChild = oldChildren.splice(0,1)[0];
|
||||
if(oldChild.meta.renderer.remove)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user