Skip to content

Deselect all with MatSelectionList is not working if mat-expansion-panel is within the list #15000

Closed
@JordanFriendshuh

Description

@JordanFriendshuh

When I access the MatSelectionList in code I call deselectAll() but the selectedOptions don't change at all. I would expect a layout component like mat-expansion-panel would not affect the behavior of deselectAll.

What are the steps to reproduce?

Here is an example that is most like my current code that isn't working. As you can see it's not working in this example too.
https://stackblitz.com/edit/angular-material2-issue-ua5q3b

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 7.1.4, Material 7.2.2, TS 3.1.1

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions