Skip to content

Commit

Permalink
chore: Missing invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Sep 21, 2024
1 parent c8f0062 commit 584e784
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Uno.UI/UI/Xaml/MobileLayoutingHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 584e784

Please sign in to comment.