-
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.0.10s/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
When a Label is placed inside a ContentView or directly inside a ContentPage and set to VerticalOptions="End", it appears behind the Android navigation bar when displayed at the bottom. This issue occurs only in .NET MAUI 10.
Case 1: Label inside the ContentView
<ContentPage>
<ContentView>
<Label Text="Footer" TextColor="White" FontSize="Large" VerticalTextAlignment="Start" VerticalOptions="End" HeightRequest="40" BackgroundColor="Blue"/>
</ContentView>
</ContentPage>
Case 2: Label inside the ContentPage
<ContentPage>
<Label Text="Footer" TextColor="White" FontSize="Large" VerticalTextAlignment="Start" VerticalOptions="End" HeightRequest="40" BackgroundColor="Blue"/>
</ContentPage>
Steps to Reproduce
- Run the attached sample in Android platform.
- The label will be behind the navigation bar.
Expected Behavior
The label should appear above the navigation bar, respecting safe area insets.
Actual Behavior
The label is rendered behind the navigation bar on Android.
Issue screenShot:
Link to public reproduction project repository
Version with bug
10.0.11
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.120 SR12
Affected platforms
Android
Affected platform versions
Checked in Android API 33
Did you find any workaround?
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.0.10s/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