Skip to content

bug(Datepicker): Page scrolls when using down arrow in datepicker month-view popup #24969

@teodorachiosa

Description

@teodorachiosa

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

12.2.13

Description

After the update to Angular 13, the datepicker month view has keyboard interaction issues.

Reproduction

Steps to reproduce:

  1. Go to Basic datepicker example on the Material site
  2. Open the datepicker by using the datepicker button (using either mouse or keyboard)
  3. While in month-view, keep pressing the down arrow key

Expected Behavior

The calendar popup does not move in the page.

mat-month-view-expected

Actual Behavior

After a few arrow key presses, the page scrolls and the datepicker popup moves as well.

mat-month-view

Environment

  • Angular: 13.3.5
  • CDK/Material: 13.3.5
  • Browser(s): Chrome, Edge
  • Operating System: Windows

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