MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Incorrect foreground color in the DropDownMenu of DataGridComboBoxColumn

Open
#2,731 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

Description

### Bug explanation

See:
https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/pull/2728

The foreground color seems incorrect in the `DropDownMenu` of `DataGridComboBoxColumn` when the `ScrollBar` is visible.

It can be observed in the demo application.

**With ScrollBar:**

![image](https://user-images.githubusercontent.com/54487782/171417096-48482c30-465c-4f0a-ad27-cee8c41042e0.png)

**Without ScrollBar:**

![image](https://user-images.githubusercontent.com/54487782/171417614-a32712de-dce3-48c6-a468-143ace332c77.png)

### Version

4.5.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the demo application and reproduce the DataGridComboBoxColumn DropDownMenu with and without a visible ScrollBar. Trace the related C#/XAML styling and compare the foreground-color behavior, using PR #2728 as context. Done means the foreground color is consistent in both states and the demo still renders correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
design, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.