dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.27k stars 1.76k forks source link

[WinUI] Chevron doesn't get TabBarTitleColor #25115

Open sasharp opened 1 month ago

sasharp commented 1 month ago

Description

After setting static color for Tab Shell.TabBarTitleColor chevron still changes color dynamicaly by Windows mode.

<Style TargetType="Tab">
    <Setter Property="Shell.TabBarBackgroundColor" Value="{StaticResource Primary}" />
    <Setter Property="Shell.TabBarTitleColor" Value="{StaticResource White}" />
    <Setter Property="Shell.TabBarUnselectedColor" Value="{StaticResource White}" />
</Style>

image

image

Steps to Reproduce

  1. Create Shell with bottom tabs
  2. Set a static TabBarTitleColor to Tab
  3. Change Windows mode

Link to public reproduction project repository

https://github.com/sasharp/MAUI8Bugs

Version with bug

8.0.91 SR9.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

windows10.0.19041.0

Did you find any workaround?

No response

Relevant log output

No response

similar-issues-ai[bot] commented 1 month ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

jaosnz-rep commented 1 month ago

I can repro this issue at Windows platform on the latest 17.12.0 Preview 2.1(8.0.90 & 8.0.91).