Skip to content

bug(mat-list): .mdc-list-item__content makes the buttons in list item not clickable #26010

Closed
@princemaple

Description

@princemaple

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

legacy (v14)

Description

Buttons in list item meta are not clickable because .mdc-list-item__content has pointer-event: none

Reproduction

Steps to reproduce:

  1. create a list, add a list item with a button in it
  2. try to click it

Expected Behavior

buttons are clickable

Actual Behavior

buttons are not clickable

Environment

  • Angular: 15.0.0
  • CDK/Material: 15.0.0
  • Browser(s): All
  • Operating System (e.g. Windows, macOS, Ubuntu): N/A

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/list

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions