MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
[Bug] Clicking around a bottom area of a Menu could click on one of its child MenuItems at random
未关闭
还没有人认领这个 Issue。
bug
up-for-grabs
- 主要语言
- C#
- 星标
- 16.3k
- 派生
- 3.5k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 8
描述
I realized Menu is a bit buggy.
If you click and hold on like 1~2px away from the very bottom, the menu will disappear as soon as you stop holding. This may be minor, but if you press and release very fast, it randomly clicks on one of the menu items when menu is being animated to drop down.
The demo could be a very good way to see what I mean: https://i.imgur.com/cBilajC.png
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先复现链接图片中所示的 Menu 演示行为,重点关注底部附近的 1–2px 区域以及关闭期间的子 MenuItems。跟踪 Menu 交互和动画的入口点;完成的标准是,点击底部附近不会意外关闭,也不会触发随机的子 MenuItem。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100