Merge pull request #1301 from nicksenger/fix/nested-pure-components

Fix nested pure components
This commit is contained in:
Héctor Ramón 2022-04-18 16:30:23 +07:00 committed by GitHub
commit 26b68d74f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,6 +217,10 @@ where
.build(),
));
self.with_element(|element| {
tree.diff_children(std::slice::from_ref(&element))
});
shell.invalidate_layout();
}
@ -448,6 +452,10 @@ where
.build(),
);
overlay.instance.with_element(|element| {
overlay.tree.diff_children(std::slice::from_ref(&element))
});
self.overlay = Some(
OverlayBuilder {
instance: overlay.instance,