dotnet / dotnet/maui

[NET 9 regression] Changing StatusBar and NavigationBar background color doesn't work with Modal pages

Open
#28,552 15 comments 0 reactions 0 assignees View on GitHub
area-navigation i/regression p/2 platform/android regressed-in-9.0.0 s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

.NET 8:

https://github.com/user-attachments/assets/44958895-a220-4187-9df0-e1669b98e598

.NET 9:

https://github.com/user-attachments/assets/e727aa5b-b06f-4f05-b1c2-4d4aff0ca5fa

### Steps to Reproduce

_No response_

### Link to public reproduction project repository

https://github.com/OvrBtn/NavigationBarColor (there are separate branches for net8 and net9)

### Version with bug

9.0.50 SR5

### Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

### Last version that worked well

8.0.100 SR10

### Affected platforms

Android, I was *not* able test on other platforms

### Affected platform versions

Tested on API 30

### Did you find any workaround?

_No response_

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.