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] Back button is not visible on the navigation bar in light mode #20811

Closed
RsZoli opened this issue Feb 23, 2024 · 4 comments
Closed

[BUG] Back button is not visible on the navigation bar in light mode #20811

RsZoli opened this issue Feb 23, 2024 · 4 comments
Labels
area-navigation NavigationPage platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@RsZoli
Copy link

RsZoli commented Feb 23, 2024

Description

After navigating from a page, the back button is not visible (or presumably just white) if the device is in light mode!
The bug is present on Android and iOS platforms as well, but the navigation itself is working!

IMG_0006
IMG_0007
Screenshot_20240223_140518
Screenshot_20240223_140536

In dark mode, the back button is visible!

Steps to Reproduce

Create a new .NET MAUI application and navigate from the MainPage.

Link to public reproduction project repository

https://github.com/RsZoli/GitHubRepros

Version with bug

8.0.6 SR1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

iOS 16.2, iOS 17.2.1, Android 13, Android 14

Did you find any workaround?

No response

Relevant log output

No response

@RsZoli RsZoli added the t/bug Something isn't working label Feb 23, 2024
@RsZoli RsZoli changed the title Back button is not visible on the navigation bar in light mode [BUG] Back button is not visible on the navigation bar in light mode Feb 23, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Feb 26, 2024
@ghost
Copy link

ghost commented Feb 26, 2024

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@GlacierFox
Copy link

Same issue here. Can't change the color of my custom back icon from white to anything else.

@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Mar 28, 2024
@XamlTest
Copy link

Verified this on VS 17.10.0 Preview 2.0(8.0.14). Repro on Android 14.0-API34 and iOS 17.2 with below Project:
GitHubRepros.zip

@japarson
Copy link
Contributor

This bug has been fixed by #20152. The fix will be automatically present in newly created MAUI projects. To integrate it into an existing project, replace the existing Shell.ForegroundColor property in Resources\Styles\Styles.xaml with the following:

<Setter Property="Shell.ForegroundColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource SecondaryDarkText}}" />

@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-navigation NavigationPage platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants