Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Items in a non-interactive list should probably not have their selected state affected by clicks. #999

Closed
@ibelenski

Description

Version 0.35.6

Clicking an item in an non-interactive list alters its selected state. Maybe this is by design but it does make the list "somewhat" interactive. The workaround of handling the selectionChange event and clearing the selection can get a bit tedious.

<mdc-list [interactive]="false">
  <mdc-list-item>Some item</mdc-list-item>
  <mdc-list-item>Another item</mdc-list-item>
  <mdc-list-item>Yet another item</mdc-list-item>
</mdc-list>

image

image

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions