angular / angular/components

Bug in "Tree with checkboxes" with deselecting parent checkbox.

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

Description

#### Bug, feature request, or proposal:
Bug in "Tree with checkboxes" with deselecting parent checkbox.

#### What is the expected behavior?
Example on "Reminders". You click on a "Reminders" checkbox, then deselect "Cook dinner", then deselect "Reminders". I expect "Reminders" checkbox is not selected or all children checkboxes are selected.

#### What is the current behavior?
"Reminders" checkbox is selected.

Contributor guide

Open the contributing guide

Research direction

Start by locating and reproducing the "Tree with checkboxes" example using the "Reminders" sequence described in the issue: select the parent, deselect "Cook dinner," then deselect "Reminders." Done means the parent is no longer selected or all child checkboxes become selected.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.