MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Input control hints and underline lost when in ColorZone
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 16.3k
- 派生
- 3.5k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 8
描述
### Bug explanation
The hint, underline and cursor on TextBox and ComboBox go to primary brush when selected. The underline goes to primary on mouse over as well. If these controls are within a colorzone, with mode set to mid, these elements disappear on selection/hover.
This is true for various styles such as MaterialDesignFloatingHintTextBox/ComboBox and MaterialDesignOutlinedTextBox/ComboBox
I expect the control to choose a more appropriate highlight color (driven by the colorzone perhaps) or allow the selected highlight color to be overridden.

```
```
### Version
5.0
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 ColorZone 样式以及 MaterialDesignFloatingHint/Outlined TextBox 和 ComboBox 样式定义入手;使用 ColorZone Mode="PrimaryMid" 复现提供的 XAML,并检查悬停或选择时用于提示、下划线和光标的 brushes。完成标准是:在所列样式中,这些元素始终以适当的或可覆盖的高亮颜色保持可见;如果项目提供回归测试,则应包含回归测试覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- design, desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100