-
Notifications
You must be signed in to change notification settings - Fork 473
Open
Labels
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 a StatusBarBehavior's StatusBarColor is bound to a property, that dynamically changes, it not only doesn't update correctly, but doesn't render properly initially.
Expected Behavior
When a StatusBarBehavior's StatusBarColor is bound to a property, that dynamically changes, it updates the status bar's color according to the property's value.
Steps To Reproduce
- Open and run the solution from the reproduction project
- Click on the button
Link to public reproduction project repository
https://github.com/mduchev-racebox/StatusBarBehaviorColorBug
Environment
- .NET MAUI CommunityToolkit: 13.0.0
- OS: macOS Tahoe 26.2
- .NET MAUI: 10.0.101Anything else?
As it can be seen from the demo project, the status bar style (light/dark) changes properly. The issue happens on Android only. The same code works fine on iOS. If I try to manually change it via StatusBar.SetColor, the functionality is still not working.
Tested on Google Pixel 10 phone, with Android 16.
alberk8