-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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(autocomplete): double-clicking input shouldnt close the panel #2835
Conversation
46122d6
to
e0338d5
Compare
@@ -85,22 +87,18 @@ describe('MdAutocomplete', () => { | |||
.toContain('California', `Expected panel to display when opened programmatically.`); | |||
}); | |||
|
|||
it('should close the panel when a click occurs outside it', async(() => { | |||
it('should close the panel when blurred', async(() => { |
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.
Can you include a test checking that the panel is open after changing focus to an md-option?
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.
You mean when you make the md-option active by the keyboard, right? Focus never changes to md-option unless you click on it, in which case the panel should close.
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.
Added another test in the keyboard events section for that
e0338d5
to
770cce6
Compare
770cce6
to
9f6393a
Compare
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. |
Ready for review.
r: @jelbourn @andrewseguin