Skip to content

[BUG] Popups don't extend to the Android Status BarΒ #2952

@JosHuybrighs

Description

@JosHuybrighs

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

I configure my app to use the same background color as the color of my MainPage as follows:

<ContentPage.Behaviors>
  <tk:StatusBarBehavior StatusBarColor="#101010"/>
</ContentPage.Behaviors>

Unfortunately when a Popup is displayed on the page the overlay color that is applied on the page doesn't extend to the Status Bar. It is even worse because the color becomes some kind of dark blue.
I tested with android set in night mode.

I also did some tests with SyncFusion's BottomSheet and there is also the same issue.

Expected Behavior

I wouldn't expect that this happens. Almost all apps today extend the page background to both the Android Status Bar and the top NavigationBar. It is strange that such a basic thing is simply not supported on MAUI. Looks very outdated.

Any suggestions?

Steps To Reproduce

Configure MainPage to use a StatusBarBehaviour.
Add a Popup and open it.

Link to public reproduction project repository

https://github.com/JosHuybrighs/MauiApp5/tree/master

Environment

- .NET MAUI CommunityToolkit: 13.0.0
- OS: Android 34
- .NET MAUI:10.0.10

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions