more bugfixes
This commit is contained in:
1 parent
776c5e8839
commit
21ca1599eb
2 files changed
+16
-5
No files matched your search
@@ -255,7 +255,9 @@ impl<'b> VirtualDom {
|
||||
root: ElementId,
|
||||
node: &VNode,
|
||||
) {
|
||||
while let Some((mut attr_id, path)) = attrs.next_if(|(_, p)| p[0] == root_idx) {
|
||||
while let Some((mut attr_id, path)) =
|
||||
attrs.next_if(|(_, p)| p.first().copied() == Some(root_idx))
|
||||
{
|
||||
let id = self.assign_static_node_as_dynamic(path, root, node, attr_id);
|
||||
|
||||
loop {
|
||||
|
||||
Reference in new issue
Block a user