-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(datepicker): keyboard fixes (enter matches click behavior & corre… #7370
Conversation
Does this fix #7142? |
@@ -287,6 +287,7 @@ export class MdCalendar<D> implements AfterContentInit, OnDestroy { | |||
case ENTER: | |||
if (this._dateFilterForViews(this._activeDate)) { | |||
this._dateSelected(this._activeDate); | |||
this._userSelected(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add test?
0e248c4
to
d03a553
Compare
fixed existing tests and added test for new behavior |
@mmalerba please rebase. Thanks! |
…ct up and down arrow behavior in year mode).
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…ct up and down arrow behavior in year mode).
fixes #7142