Skip to content

bug(mat-datepicker): IOS: Incorrect hover display after year selection #23904

Closed
@ydamato

Description

@ydamato

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

No response

Description

On IOS when a year is selected, the month cell underneath is highlighted with a focus state.

datepicker.error.mp4

Reproduction

Steps to reproduce:

  1. Go to https://material.angular.io/components/datepicker/examples
  2. Open a date picker and select a year

Expected Behavior

Only the selected month should be highlighted.

Actual Behavior

Selected month and month underneath selected year are highlighted with the same style.

Environment

  • Angular: 12.2.6
  • CDK/Material: 13.0.0
  • Browser(s): Safari
  • Operating System: IOS

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions