-
Notifications
You must be signed in to change notification settings - Fork 494
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- 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
When setting the status bar colour using StatusBarBehavior or the Platform.StatusBar API in .NET 10 Release Candidate, the colour and style are not applied as expected. The same code works correctly in previous versions (e.g., .NET 9).
Expected Behavior
The Colour and style should be applied
Steps To Reproduce
Create a new .NET 10 RC MAUI project.
Install the latest CommunityToolkit.Maui package (12.3.0)
Add the following XAML to a page:
<ContentPage.Behaviors>
<toolkit:StatusBarBehavior
StatusBarColor="Red"
StatusBarStyle="LightContent"/>
</ContentPage.Behaviors>
Link to public reproduction project repository
Environment
- .NET MAUI CommunityToolkit: 12.3.0
- OS: Windows 10 Build 10.0.19041.0
- .NET MAUI: 10Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working