Skip to content

bug(datepicker): Hitting space key to select date reopens picker on Firefox #23305

Closed
@lmsch

Description

@lmsch

Reproduction

Steps to reproduce:

  1. Open https://material.angular.io/components/datepicker/overview with Firefox.
  2. See first example on page ('Basic datepicker'). Press button to open the picker.
  3. Try pressing space key to save the date.

Expected Behavior

Should save the date and close the picker.

Actual Behavior

Datepicker closes then instantly reopens.

Environment

Firefox v90.0.2

  • Angular: v10.2.x, but also present in v12.1.x
  • CDK/Material: v10.2.x, but also present in v12.1.x
  • Browser(s): Firefox v90.0.2
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaroundfirefoxThis issue is specific to the Firefox browser

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions