[iOS] SafeArea arrange insets are currently insetting based on an incorrect Bounds #24246
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
fixed-in-8.0.90
fixed-in-9.0.0-rc.2.24503.2
s/triaged
Issue has been reviewed
t/bug
Something isn't working
Milestone
Description
The problem we found is that the
MauiView
returns a size fromSizeThatFits
that doesn't include theSafeAreaInsets
. The arrange pass insets itsBounds
and passes this value toCrossPlatformArrange
but theBounds
being used is the size of the children not including theSafeAreaInsets
which means the bounds used for arranging is wrong.You can see from the screenshots below that the
VSL
surrounding the the entry gets arranged incorrectlyComparison
Given the following
XAML
Before
The text was updated successfully, but these errors were encountered: