flutter / flutter/devtools

[Property editor] Value dropdown style feedback

未关闭
#9,030 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P3 property editor
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

### Context

In the Property Editor, enum and boolean values get a dropdown:

![Image](https://github.com/user-attachments/assets/53cdf200-35fa-4eb0-ad2e-b03aa4b6da31)

### Suggestions

When I open the dropdown, its items cover the dropdown. It makes it hard to know what I’m editing. Can we make the dropdown items show below the dropdown?

The dropdown items’ width is wider than the width of the collapsed dropdown itself. Ideally their widths would be the same.

I dislike the Material ink splash effect when you click on these dropdown items. It feels jarring and inconsistent with VS Code’s UX. Can we turn off Material ink splash effects?

贡献指南

打开贡献指南

调研方向

首先定位 Property Editor 的实现以及渲染 enum 和 boolean 下拉菜单的代码。在 Property Editor 中重现该反馈,然后验证菜单项是否显示在字段下方、与字段宽度一致,并且不显示 Material 的墨水飞溅效果。

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

评估

技术栈
dart, flutter
领域
devtools, frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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