-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/androidregressed-in-10-rc2s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Description
Description
In my .NET MAUI app targeting Android, the top Label on a ContentPage is overlapped by the status bar. I have set SafeAreaEdges="Container" and hidden the navigation bar (Shell.NavBarIsVisible="False"), but the content does not respect the safe area at the top.
Steps to Reproduce
- Create a new .NET MAUI project.
- Use the following XAML for a page:
<ContentPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MauiSafeAreaRepro.SignOutPage"
SafeAreaEdges="Container"
Shell.NavBarIsVisible="False">
<VerticalStackLayout Padding="20" Spacing="20">
<Label Text="SignOut / Session Expiry Page" FontSize="24"/>
<Button Text="Back to Main" Clicked="OnBackClicked"/>
</VerticalStackLayout>
</ContentPage>- Run the app on an Android device.
20251202-0757-16.7047976.mp4
Expected Behavior
The content should be padded so that it does not overlap with the Android status bar.
Actual Behavior
The Label is overlapped by the status bar.
Link to public reproduction project repository
No response
Version with bug
10.0.11
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
10.0.11
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Metadata
Metadata
Assignees
Labels
i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/androidregressed-in-10-rc2s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working