CommunityToolkit / CommunityToolkit/Maui

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

Open
#2,952 35 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.7k
Forks
500
Avg merge
2d 14h
Merged PRs (30d)
7

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

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

- [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

### Current Behavior

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

```



```

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

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

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked MauiApp5 reproduction and the StatusBarBehavior and Popup entry points, reproducing the issue on Android 34 in night mode. Compare the MainPage status-bar color with the popup overlay; done means the overlay consistently extends through the Android Status Bar without the unexpected dark-blue color.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.