Checkbox: shift+click
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
#### Bug, feature request, or proposal:
Bug
#### What is the expected behavior?
By holding down the shift key and clicking a checkbox this should checked.
#### What is the current behavior?
The checkbox is not marked only shows the ripple effect.
#### What is the use-case or motivation for changing an existing behavior?
I would like to implement a Gmail-style checkbox.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material: 2.0.0-beta.8
Angular: 4.3.2
TypeScript: 2.4.2
Chrome
#### Is there anything else we should know?
[https://material.angular.io/components/checkbox/examples](https://material.angular.io/components/checkbox/examples)
In Safari it works.
贡献指南
调研方向
从 Angular Material checkbox examples 开始,并使用 issue 中列出的版本在 Chrome 中复现 shift-click 行为。跟踪 checkbox 交互处理,以确定为什么只显示 ripple;当 shift-click 能按预期标记 checkbox 且不会导致普通点击出现回归时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 32/100