fix mounted information
This commit is contained in:
1 parent
967c082085
commit
b43dfb1f67
6 files changed
+44
-35
No files matched your search
@@ -556,10 +556,10 @@ impl VirtualDom {
|
||||
self.flush_templates(to);
|
||||
let _runtime = RuntimeGuard::new(self.runtime.clone());
|
||||
let new_nodes = self.run_scope(ScopeId::ROOT);
|
||||
self.scopes[ScopeId::ROOT.0].last_rendered_node = Some(new_nodes.clone());
|
||||
|
||||
// Rebuilding implies we append the created elements to the root
|
||||
let m = self.create_scope(to, ScopeId::ROOT, &new_nodes, None);
|
||||
|
||||
to.append_children(ElementId(0), m);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user