{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/4095","labels_url":"https://api.github.com/repos/angular/material/issues/4095/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/4095/comments","events_url":"https://api.github.com/repos/angular/material/issues/4095/events","html_url":"https://github.com/angular/material/issues/4095","id":100339367,"number":4095,"title":"md-autocomplete not firing focus events. ","user":{"login":"dmackerman","id":289938,"avatar_url":"https://avatars.githubusercontent.com/u/289938?v=3","gravatar_id":"","url":"https://api.github.com/users/dmackerman","html_url":"https://github.com/dmackerman","followers_url":"https://api.github.com/users/dmackerman/followers","following_url":"https://api.github.com/users/dmackerman/following{/other_user}","gists_url":"https://api.github.com/users/dmackerman/gists{/gist_id}","starred_url":"https://api.github.com/users/dmackerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmackerman/subscriptions","organizations_url":"https://api.github.com/users/dmackerman/orgs","repos_url":"https://api.github.com/users/dmackerman/repos","events_url":"https://api.github.com/users/dmackerman/events{/privacy}","received_events_url":"https://api.github.com/users/dmackerman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T15:32:31Z","updated_at":"2015-08-11T21:53:15Z","closed_at":null,"body":"Angular `1.4.3` and Material `0.10.1-rc5`.\r\n\r\nI've copied the examples for `mdAutocomplete` directly in my application and am seeing some weird issues.\r\n\r\nFor whatever reason, when the field is focused - *not having typed anything yet* - no events (and therefore no classes) are added, so the menu doesn't show \"all\" results.  In the docs, the `md-menu-shown` class is added to the `md-autocomplete-wrap` element on mouse focus.\r\n\r\nThis may be related to https://github.com/angular/material/issues/4046, but I can't say for sure.  This happens to me everywhere, not just confined to inside an `mdDialog`.\r\n\r\nI can't seem to get it to reproduce on Codepen or in the docs application, so i'm not sure why this is happening. The autocomplete works as expected once keystrokes are entered, but it's pretty broken behavior to not show \"all\" results on focus if the entire array is available on scope. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/130089466","html_url":"https://github.com/angular/material/issues/4095#issuecomment-130089466","issue_url":"https://api.github.com/repos/angular/material/issues/4095","id":130089466,"user":{"login":"elubin","id":442368,"avatar_url":"https://avatars.githubusercontent.com/u/442368?v=3","gravatar_id":"","url":"https://api.github.com/users/elubin","html_url":"https://github.com/elubin","followers_url":"https://api.github.com/users/elubin/followers","following_url":"https://api.github.com/users/elubin/following{/other_user}","gists_url":"https://api.github.com/users/elubin/gists{/gist_id}","starred_url":"https://api.github.com/users/elubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elubin/subscriptions","organizations_url":"https://api.github.com/users/elubin/orgs","repos_url":"https://api.github.com/users/elubin/repos","events_url":"https://api.github.com/users/elubin/events{/privacy}","received_events_url":"https://api.github.com/users/elubin/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T21:53:15Z","updated_at":"2015-08-11T21:53:15Z","body":"Ditto.  Weird focus events with md-autocomplete on an md-dialog inside md-chips.  (although i'm not sure that has anything to do with it, but it makes seeing the issue easier)  In my case, the issue is because md-min-length=\"0\" because i wanted to show all 9 options to the user immediately instead of making them select one.\r\n\r\nhttp://jsfiddle.net/5m9rpcrn/\r\n\r\n(added the same note to 4046)"}}