Skip to content

bug(mat-list-option): There's no visual selected state on mobile browsers #19876

Closed
@nunoarruda

Description

@nunoarruda

Reproduction

https://stackblitz.com/angular/aexyvybjrlm?file=src%2Fapp%2Flist-single-selection-example.html (taken from your "List with single selection" example: https://material.angular.io/components/list/examples)

Steps to reproduce:

  1. Open the StackBlitz link above on a mobile browser (Safari on iOS, or Chrome on Android)
  2. Click the items

Expected Behavior

The selected item should have a visual selected state, like on desktop.

Desktop screenshot (macOS, Chrome):
active-state-desktop

Actual Behavior

There's no visual selected state.

Mobile screenshot (iPhone, iOS, Safari):
active-state-desktop

Environment

  • Angular: 10.0.0
  • CDK/Material: 10.0.1
  • Browser(s): Safari
  • Operating System (e.g. Windows, macOS, Ubuntu): iOS

Please fix.

PS: Any workaround we can use while this gets fixed and released?

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