dotnet / dotnet/maui

Shell Tabbed App - can't change color for items placed in more items menu

Open
#6,740 6 comments 0 reactions 0 assignees View on GitHub
area-controls-shell platform/android platform/ios s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

When I have a lot of tabs on shell page I can't change color for items inside more menu.

I use the folowing styles in xaml
```xml

<Setter Property="Shell.BackgroundColor" Value="Green" />
<Setter Property="Shell.ForegroundColor" Value="Red" />
<Setter Property="Shell.TitleColor" Value="Blue" />
<Setter Property="Shell.DisabledColor" Value="Red" />
<Setter Property="Shell.UnselectedColor" Value="Yellow" />
<Setter Property="Shell.NavBarHasShadow" Value="False" />
<Setter Property="Shell.TabBarBackgroundColor" Value="Blue" />
<Setter Property="Shell.TabBarForegroundColor" Value="Red" />
<Setter Property="Shell.TabBarTitleColor" Value="Red" />
<Setter Property="Shell.TabBarUnselectedColor" Value="Yellow" />



<Style TargetType="TabbedPage">
<Setter Property="BarBackgroundColor" Value="Red" />
<Setter Property="BarTextColor" Value="Red" />
<Setter Property="UnselectedTabColor" Value="Yellow" />
<Setter Property="SelectedTabColor" Value="Red" />

```

image

### Steps to Reproduce

1. Grab project from https://github.com/nevse/Maui-Tests-ShellVsTabsMoreItemsMenu
2. run `dotnet build -t:Run -f:net6.0-android`
3. click on "..." menu to show more menu.

Item should be colorized.

### Version with bug

Release Candidate 2 (current)

### Last version that worked well

Unknown/Other

### Affected platforms

iOS, Android

### Affected platform versions

android 31

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the linked Maui-Tests-ShellVsTabsMoreItemsMenu project using `dotnet build -t:Run -f:net6.0-android`, then open the Shell tabbed app's "..." more menu. Trace how the Shell styles apply to those menu items on Android and iOS; done means the items reflect the configured colors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.