Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Datepicker calendar should close when current day or another day is selected via keyboard i.e. arrow keys + Enter.
What is the current behavior?
Datepicker calendar only closes when a date is selected using mouse.
What are the steps to reproduce?
Open the datepicker, use the arrow keys to select a date, press Enter. Datepicker calendar remains open and no selection is made.
The example datepicker exhibits the behaviour: https://material.angular.io/components/datepicker/examples
What is the use-case or motivation for changing an existing behavior?
Consistent behaviour with mouse vs keyboard. Better usability for users who traverse forms using a keyboard.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular v4, material 2.0.0-beta.10