From e812276677ca7c787ffb52a078e7a238227fb522 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 21 Mar 2024 00:34:26 +0100 Subject: Fix layout invalidation for `Responsive` widget --- widget/src/lazy/component.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widget/src/lazy/component.rs') diff --git a/widget/src/lazy/component.rs b/widget/src/lazy/component.rs index a512e0de..7ba71a02 100644 --- a/widget/src/lazy/component.rs +++ b/widget/src/lazy/component.rs @@ -478,12 +478,14 @@ where translation: Vector, ) -> Option> { self.rebuild_element_if_necessary(); + let tree = tree .state .downcast_mut::>>>() .borrow_mut() .take() .unwrap(); + let overlay = Overlay(Some( InnerBuilder { instance: self, -- cgit