Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] StatusBarBehavior setting "StatusBarColor=Transparent" is not working #1587

Open
2 tasks done
RsZoli opened this issue Dec 3, 2023 · 0 comments · May be fixed by #1630
Open
2 tasks done

[BUG] StatusBarBehavior setting "StatusBarColor=Transparent" is not working #1587

RsZoli opened this issue Dec 3, 2023 · 0 comments · May be fixed by #1630
Assignees
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working

Comments

@RsZoli
Copy link

RsZoli commented Dec 3, 2023

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

When the StatusBarColor is set to Transparent to the ContentPage.Behavior, in light mode, the statusbar will be white!
Switching to dark mode at runtime, the statusbar will remain white!

Screenshot_1701623125
Screenshot_1701623129

When the StatusBarColor is set to Transparent to the ContentPage.Behavior, in dark mode, the statusbar will be black!
Switching to light mode at runtime, the statusbar will remain black!

Screenshot_1701623143
Screenshot_1701623147

Expected Behavior

Statusbar being transparent!

Steps To Reproduce

  • Create a new .NET MAUI App
  • Install CommunityToolKit.Maui NuGet package
  • Add the "xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" and also
  • Add the "<ContentPage.Behaviors><toolkit:StatusBarBehavior StatusBarColor="Transparent" /></ContentPage.Behaviors>" code to the MainPage of the App
  • Run the app

Link to public reproduction project repository

https://github.com/RsZoli/MauiApp2

Environment

- .NET MAUI CommunityToolkit: 7.0.0
- OS: Android 14
- .NET MAUI: 34.0.43/8.0.100 VS 17.8.34322.80

Anything else?

No response

@RsZoli RsZoli added bug Something isn't working unverified labels Dec 3, 2023
@vhugogarcia vhugogarcia added the area/behaviors Issue/Discussion/PR that has to do with Behaviors label Dec 7, 2023
@vhugogarcia vhugogarcia self-assigned this Dec 28, 2023
@vhugogarcia vhugogarcia linked a pull request Jan 2, 2024 that will close this issue
6 tasks
@RsZoli RsZoli changed the title [BUG] StatusBarBehavior StatusBarColor=Transparent not working [BUG] StatusBarBehavior setting "StatusBarColor=Transparent" is not working Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants