From 584e784288739fa803c2c9298c3322a744e404c8 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Sat, 21 Sep 2024 13:17:39 +0300 Subject: [PATCH] chore: Missing invalidation --- src/Uno.UI/UI/Xaml/MobileLayoutingHelpers.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Uno.UI/UI/Xaml/MobileLayoutingHelpers.cs b/src/Uno.UI/UI/Xaml/MobileLayoutingHelpers.cs index 4887c1fbf901..176ce9408c4a 100644 --- a/src/Uno.UI/UI/Xaml/MobileLayoutingHelpers.cs +++ b/src/Uno.UI/UI/Xaml/MobileLayoutingHelpers.cs @@ -56,6 +56,8 @@ public static Size MeasureElement(View view, Size availableSize) var desiredSizeFromLayouterElement = layouterElement.Measure(availableSize); LayoutInformation.SetDesiredSize(view, desiredSizeFromLayouterElement); LayoutInformation.SetAvailableSize(view, availableSize); + + view.InvalidateArrangeOnNativeOnly(); return desiredSizeFromLayouterElement; }