Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(mdSelect): Close menu on hitting Enter key #4384

Closed
wants to merge 1 commit into from
Closed

fix(mdSelect): Close menu on hitting Enter key #4384

wants to merge 1 commit into from

Conversation

shuding
Copy link
Contributor

@shuding shuding commented Aug 31, 2015

checkCloseMenu is being called without an event in onMenuKeyDown, which causes a Uncaught TypeError: Cannot read property 'currentTarget' of undefined error.

Fixes #4377.

`checkCloseMenu` is being called without an event in `onMenuKeyDown`, which causes a `Uncaught TypeError: Cannot read property 'currentTarget' of undefined` error.

Fixes #4377.
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@shuding
Copy link
Contributor Author

shuding commented Aug 31, 2015

I signed it (CLA)! 🆗

@googlebot
Copy link

CLAs look good, thanks!

ThomasBurleson pushed a commit that referenced this pull request Aug 31, 2015
call `checkCloseMenu(ev)` with `ev` argument.
ensure references to `ev` are non-null

Fixes #4377. Closes #4384. Closes #4372.
kennethcachia pushed a commit to kennethcachia/material that referenced this pull request Sep 23, 2015
call `checkCloseMenu(ev)` with `ev` argument.
ensure references to `ev` are non-null

Fixes angular#4377. Closes angular#4384.
kennethcachia pushed a commit to kennethcachia/material that referenced this pull request Sep 23, 2015
call `checkCloseMenu(ev)` with `ev` argument.
ensure references to `ev` are non-null

Fixes angular#4377. Closes angular#4384. Closes angular#4372.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants