angular / angular/components

Checkbox: shift+click

Open
#6,232 9 comments 4 reactions 0 assignees View on GitHub
area: material/checkbox P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### 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.

Contributor guide

Open the contributing guide

Research direction

Start with the Angular Material checkbox examples and reproduce the shift-click behavior in Chrome using the versions listed in the issue. Trace the checkbox interaction handling to determine why only the ripple appears; done means shift-click marks the checkbox as expected without regressing ordinary clicks.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.