diff --git a/lazy/src/component.rs b/lazy/src/component.rs index 787adc109c..fd3f6ff7b6 100644 --- a/lazy/src/component.rs +++ b/lazy/src/component.rs @@ -149,6 +149,8 @@ where ) }); + local_shell.with_invalid_layout(|| shell.invalidate_layout()); + if !local_messages.is_empty() { let mut component = self .state @@ -373,6 +375,8 @@ where }) .unwrap_or_else(|| iced_native::event::Status::Ignored); + local_shell.with_invalid_layout(|| shell.invalidate_layout()); + if !local_messages.is_empty() { let mut component = self.instance.state.take().unwrap().into_heads().component;