Skip to content

Commit 5b5a5b8

Browse files
authored
Merge pull request #1701 from nicksenger/fix/diff-component-operate
Fix panic when using operations with components in certain cases
2 parents 4e93ae8 + 2201f33 commit 5b5a5b8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lazy/src/component.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ where
311311
}
312312

313313
self.with_element(|element| {
314+
tree.diff_children(std::slice::from_ref(&element));
315+
314316
element.as_widget().operate(
315317
&mut tree.children[0],
316318
layout,

0 commit comments

Comments
 (0)