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

call `checkCloseMenu(ev)` with `ev` argument.
ensure references to `ev` are non-null

Fixes #4377. Closes #4384. Closes #4372.

arlowhite/material,AladdinSonni/material,Bryanschauerte/material,CarmenPopoviciu/material,CarmenPopoviciu/material,kwypchlo/material,marduke182/material,profoundry-us/material,EladBezalel/material,xale/material,brunoqc/material,hayloft/material,ErinCoughlan/material,david-gang/material,JonFerrera/material,crisbeto/material,DerekLouie/material,n1vlac/material,Frank3K/material,Kielan/material,dmitriz/material,Kielan/material,eloytoro/material,elton0895/material,Bryanschauerte/material,brian-lewis/material,clshortfuse/material,Antariano/material,Androguide/material,j3ski/material,jadjoubran/material,veraksar/material,isaaclyman/material,EladBezalel/material,weebygames/material,ebulay/material,programmist/material,hodeyp/material,bluebirdtech/material,arlowhite/material,hodeyp/material,Drooids/material,welkinhealth/material,nconrad/material,dlochrie/material,gmoothart/material,colinskow/material,hitesh97/material,dmitriz/material,ardas/material,miaotmac/material,gmoothart/material,FrankMeyer/material,mattiLeBlanc/material,Bryanschauerte/material,pwistbac/material,Benew/material,deerawan/material,marduke182/material,gkalpak/material,Kielan/material,graingert/material,david-gang/material,j3ski/material,mprentic-harris/material,Jeremy017/material,sandeeppatidar/material,DerekLouie/material,marekmicek/material,rolandoldengarm/material,davidecavaliere/material,ardas/material,theZimmee/angular-material,Mexiswow/material,gabimanea/material,ErinCoughlan/material,taranjeetsapra/material,SamDLT/material,dkemper01/material,crisbeto/material,amithub/Angular-Material-Web-Design,drrezeau/material,vanslly/material,amithub/Angular-Material-Web-Design,eloytoro/material,victorivens05/material,david-gang/material,bjfletcher/material,sandeeppatidar/material,elton0895/material,jadjoubran/material,colinskow/material,ErinCoughlan/material,Androguide/material,masterpowers/material,bOOm-X/material,JayQuerido/material,richtmat/material,n1vlac/material,colinskow/material,wanmifam/material,graingert/material,kamilkisiela/material,hitesh97/material,shyndman/material,epelc/material,ServiceManagementGroup/material,franzsilva/material,Splaktar/material,david-gang/material,SamDLT/material,Mexiswow/material,dmitriz/material,rolandoldengarm/material,shyndman/material,deerawan/material,victorivens05/material,pwistbac/material,wisavalite/material,Azzurrio/material,JonFerrera/material,sandeeppatidar/material,Patrik-Lundqvist/material,Splaktar/material,masterpowers/material,Azzurrio/material,welkinhealth/material,elton0895/material,bjfletcher/material,jensenbox/material,jadjoubran/material,arush/material,nconrad/material,programmist/material,Antariano/material,jelbourn/material,vanslly/material,deerawan/material,abhijitsinha89/material,daniel-nagy/material,veraksar/material,bluebirdtech/material,57-Wolve/material,jianwang195823/material,miguelcobain/material,nconrad/material,Benew/material,onumossn/material,acoreyj/material,angular/material,57-Wolve/material,brian-lewis/material,ServiceManagementGroup/material,jianwang195823/material,Jeremy017/material,ServiceManagementGroup/material,Todd-Werelius/material,marekmicek/material,HarrisCorp/material,dlochrie/material,veraksar/material,gabimanea/material,miaotmac/material,57-Wolve/material,taranjeetsapra/material,gmoothart/material,amithub/Angular-Material-Web-Design,Patrik-Lundqvist/material,2947721120/angular-material,2947721120/angular-material,elton0895/material,kamilkisiela/material,Jeremy017/material,mattiLeBlanc/material,mlabieniec/material,DevVersion/material,brian-lewis/material,Frank3K/material,JayQuerido/material,daniel-nagy/material,IRlyDontKnow/material,mlabieniec/material,hannahhoward/material,profoundry-us/material,vertazzar/material,Todd-Werelius/material,ErinCoughlan/material,HarrisCorp/material,Drooids/material,Benew/material,theZimmee/angular-material,pwistbac/material,Azzurrio/material,xale/material,hannahhoward/material,loic/material,xiexingen/material,abhijitsinha89/material,DevVersion/material,dalong123/material,Verarxar/material,graingert/material,epelc/material,57-Wolve/material,miguelcobain/material,sscovil/material,isaaclyman/material,n1vlac/material,davidecavaliere/material,IRlyDontKnow/material,DerekLouie/material,ardas/material,ilovett/material,daniel-nagy/material,mohislm/material,angular/material,Drooids/material,brunoqc/material,johanvo18/material,quietshu/material,bOOm-X/material,Splaktar/material,FrankMeyer/material,flowersinthesand/material,marduke182/material,HipsterZipster/material,jeremymwells/material,miaotmac/material,Verarxar/material,HipsterZipster/material,ebulay/material,johanvo18/material,onumossn/material,miguelcobain/material,davidecavaliere/material,robertmesserle/material,gkalpak/material,onumossn/material,robertmesserle/material,2947721120/angular-material,welkinhealth/material,mprentic-harris/material,epelc/material,profoundry-us/material,gabimanea/material,arush/material,wanmifam/material,FrankMeyer/material,brunoqc/material,theZimmee/angular-material,clshortfuse/material,amithub/Angular-Material-Web-Design,asonni/material,dkemper01/material,taranjeetsapra/material,sscovil/material,wanmifam/material,JayQuerido/material,JayQuerido/material,vertazzar/material,bOOm-X/material,vanslly/material,brian-lewis/material,loic/material,jelbourn/material,taranjeetsapra/material,hannahhoward/material,Jeremy017/material,EladBezalel/material,vertazzar/material,bOOm-X/material,HipsterZipster/material,angular/material,jensenbox/material,victorivens05/material,kwypchlo/material,arush/material,IRlyDontKnow/material,p5150j/material,2947721120/angular-material,Verarxar/material,hodeyp/material,nconrad/material,imjoeco/material,HarrisCorp/material,welkinhealth/material,ServiceManagementGroup/material,Drooids/material,clshortfuse/material,wisavalite/material,angular/material,Benew/material,flowersinthesand/material,kamilkisiela/material,onumossn/material,IRlyDontKnow/material,xiexingen/material,DevVersion/material,jelbourn/material,crisbeto/material,ebulay/material,richtmat/material,richtmat/material,FrankMeyer/material,programmist/material,veraksar/material,shyndman/material,brunoqc/material,miaotmac/material,johanvo18/material,dkemper01/material,jelbourn/material,dalong123/material,imjoeco/material,jensenbox/material,dkemper01/material,hitesh97/material,Todd-Werelius/material,imjoeco/material,marekmicek/material,jeremymwells/material,DevVersion/material,graingert/material,p5150j/material,acoreyj/material,wanmifam/material,SamDLT/material,JonFerrera/material,hayloft/material,acoreyj/material,dalong123/material,arlowhite/material,ardas/material,rolandoldengarm/material,j3ski/material,oostmeijer/material,programmist/material,mprentic-harris/material,dmitriz/material,marekmicek/material,rolandoldengarm/material,jeremymwells/material,weebygames/material,vanslly/material,mohislm/material,bluebirdtech/material,abhijitsinha89/material,flowersinthesand/material,Androguide/material,franzsilva/material,BernhardRode/material,Verarxar/material,udhayam/material,sscovil/material,bjfletcher/material,drrezeau/material,gmoothart/material,AladdinSonni/material,HipsterZipster/material,masterpowers/material,gkalpak/material,BernhardRode/material,abhijitsinha89/material,imjoeco/material,colinskow/material,j3ski/material,drrezeau/material,p5150j/material,mprentic-harris/material,asonni/material,xiexingen/material,richtmat/material,n1vlac/material,hayloft/material,huoxudong125/material,mohislm/material,marduke182/material,jadjoubran/material,acoreyj/material,mohislm/material,theZimmee/angular-material,Splaktar/material,Antariano/material,loic/material,ilovett/material,BernhardRode/material,hitesh97/material,kamilkisiela/material,jianwang195823/material,eloytoro/material,xale/material,ebulay/material,mlabieniec/material,mlabieniec/material,quietshu/material,hannahhoward/material,hodeyp/material,xiexingen/material,victorivens05/material,huoxudong125/material,quietshu/material,franzsilva/material,SamDLT/material,ilovett/material,epelc/material,davidecavaliere/material,gabimanea/material,sscovil/material,huoxudong125/material,Patrik-Lundqvist/material,robertmesserle/material,Mexiswow/material,shyndman/material,BernhardRode/material,weebygames/material,loic/material,drrezeau/material,xale/material,pwistbac/material,bjfletcher/material,jeremymwells/material,dalong123/material,Antariano/material,profoundry-us/material,HarrisCorp/material,kwypchlo/material,dlochrie/material,ilovett/material,Todd-Werelius/material,gkalpak/material,Kielan/material,udhayam/material,arlowhite/material,quietshu/material,johanvo18/material,wisavalite/material,miguelcobain/material,arush/material,isaaclyman/material,oostmeijer/material,AladdinSonni/material,Androguide/material,weebygames/material,deerawan/material,Bryanschauerte/material,Frank3K/material,dlochrie/material,kwypchlo/material,hayloft/material,daniel-nagy/material,masterpowers/material,udhayam/material,oostmeijer/material,udhayam/material,asonni/material,EladBezalel/material,oostmeijer/material,asonni/material,Patrik-Lundqvist/material,CarmenPopoviciu/material,Mexiswow/material,jensenbox/material,CarmenPopoviciu/material,AladdinSonni/material,jianwang195823/material,robertmesserle/material,huoxudong125/material,JonFerrera/material,Azzurrio/material,mattiLeBlanc/material,crisbeto/material,wisavalite/material,vertazzar/material,eloytoro/material,DerekLouie/material,sandeeppatidar/material,flowersinthesand/material,mattiLeBlanc/material,bluebirdtech/material,p5150j/material,franzsilva/material,Frank3K/material,clshortfuse/material,isaaclyman/material