-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
树状 开可选时 拓展为单击文字部分甚至行即可实现勾选✔ 而不是只能点击icon #1776
Comments
@Lee-Lily-Lea 此功能我倾向于增加一个属性来开启点击行即可选中的特性。 |
感觉和Activatable重复 实际上当开启了选择模式的时候 就不应该存在 激活项这个概念 Activatable更像是单选 (虽然Activatable有多选模式) Selectable更像是多选 可以考虑下 类似其他几个组件的模式 改成单选和多选 (Multiple) Activatable和Selectable更像是在UI的区别 个人倾向这俩是一个枚举 然后单独的属性bool Multiple |
@Lee-Lily-Lea 最小改动的方式只能是增加一个属性而不破坏现有的API,也许叫 |
@capdiem 考虑兼容确实 另外 这个效果有几点注意
🚀你加油 |
显示是如上图所示 只能点击icon实现选择
开启Hoverable后 有了 "行"的状态 开启Activatable后 有了可点的效果
但是没能实现点击后 加入select
希望在开启选择模式是 激活(Activatable)改为select
The text was updated successfully, but these errors were encountered: