fix: avoid overwriting id when diffing children
this can interact with the named IDs, and cause state mismatches, and doesn't need to be done, because the ID will be updated by the diff method if there is a Tag match anyways.
This commit is contained in:
parent
3992a3d4ac
commit
4238d0ef2b
1 changed files with 0 additions and 3 deletions
|
|
@ -334,9 +334,6 @@ impl Tree {
|
|||
)
|
||||
{
|
||||
let c = &mut id_list[child_state_i];
|
||||
if len_changed {
|
||||
c.id.clone_from(new_id);
|
||||
}
|
||||
child_state_i += 1;
|
||||
c
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue