Skip to content

.Net 10 Maui Hybrid Safe Area Issue Android #33103

Description

@Voodovo

Description

On creating a new project with boilerplate code for a MAUI Blazor Hybrid and running on an Android emulator. The menu is covered by the status bar.

.NET 10
VS 2026
Pixel 7 Emulator

Image

Steps to Reproduce

On creating a new project with boilerplate code for a MAUI Blazor Hybrid and running on an Android emulator. The menu is covered by the status bar.

Link to public reproduction project repository

No response

Version with bug

10.0.20

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

.NET 8 (Please specify exact version)

Affected platforms

Android

Affected platform versions

Pixel 7 Standard Emulator

Did you find any workaround?

no

Relevant log output

Activity

  1. LogishaSelvarajSF4525 commented on Dec 11, 2025

    @LogishaSelvarajSF4525
    Contributor

    This issue has been validated in Visual Studio 18.0.0 with MAUI versions 10.0.0-rc.1, 10.0.0-rc.2, 10.0.10 & 10.0.11 . It can be reproduced from 10.0.0-rc.2 on Android platform.
    HybridSafeAreaIssue.zip

    Output Screenshot

    Before 10.0.0-RC-2 version From 10.0.0-RC-2 version
    Image Image
  2. praveenkumarkarunanithi commented on Dec 15, 2025

    @praveenkumarkarunanithi
    Contributor

    Workaround
    This issue can be resolved by setting SafeAreaEdges="Container" on the ContentPage. This ensures proper inset handling for the BlazorWebView on Android.

    <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
                xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                x:Class="YourNamespace.MainPage"
                SafeAreaEdges="Container"> 
    
       <BlazorWebView HostPage="wwwroot/index.html">
           <BlazorWebView.RootComponents>
               <RootComponent Selector="#app" ComponentType="{x:Type components:Routes}" />
           </BlazorWebView.RootComponents>
       </BlazorWebView>
    
    </ContentPage>
    

    Alternatively, wrapping the BlazorWebView inside a layout container (e.g., Grid, StackLayout) also resolves the issue.

  3. added this to the .NET 10 Servicing milestone on Dec 30, 2025
  4. removed this from the .NET 10 Servicing milestone on Mar 3, 2026
  5. 6 remaining items

  6. added 2 commits that reference this issue on Jul 3, 2026
    b231808
    d88108d
  7. added 2 commits that reference this issue on Jul 7, 2026
    63eaaf1
    d0cd608
  8. added 2 commits that reference this issue on Jul 10, 2026
    a6e6583
    4f0e0e8
  9. added a commit that references this issue on Jul 22, 2026
    310489a
  10. added 2 commits that reference this issue on Jul 28, 2026
    47a8d9a
    283bd0b
  11. added a commit that references this issue on Aug 7, 2026
    c1ba9a4
  12. added a commit that references this issue on Aug 10, 2026
  13. locked and limited conversation to collaborators on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-safeareaIssues/PRs that have to do with the SafeArea functionalityhas-workaroundi/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-10-rc2s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions