Skip to content

Commit

Permalink
chore: Adjust for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund authored and Youssef1313 committed Dec 5, 2024
1 parent ea8a25a commit 230058b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Uno.UI/UI/Xaml/MobileLayoutingHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ public static void ArrangeElement(View view, Rect finalRect)
view.Frame = finalRect;
}

#if __IOS__
view.LayoutIfNeeded();
#else
view.LayoutSubtreeIfNeeded();
#endif

foreach (var child in view.Subviews)
{
Expand Down

0 comments on commit 230058b

Please sign in to comment.