MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Incorrect foreground color in the DropDownMenu of DataGridComboBoxColumn

未关闭
#2,731 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
C#
星标
16.3k
派生
3.5k
平均合并
1 天 22 小时
30 天内合并 PR
8

描述

### 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从演示应用程序开始,分别在有可见 ScrollBar 和没有可见 ScrollBar 的情况下复现 DataGridComboBoxColumn DropDownMenu。跟踪相关的 C#/XAML 样式,并以 PR #2728 为背景比较前景色行为。当两种状态下的前景色保持一致且演示仍能正确渲染时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
design, desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。