{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/7283","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/7283/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/7283/comments","events_url":"https://api.github.com/repos/angular/material/issues/7283/events","html_url":"https://github.com/angular/material/issues/7283","id":136336536,"number":7283,"title":"md-autocomplete: md-autofocus not focusing input.","user":{"login":"flea89","id":3163684,"avatar_url":"https://avatars.githubusercontent.com/u/3163684?v=3","gravatar_id":"","url":"https://api.github.com/users/flea89","html_url":"https://github.com/flea89","followers_url":"https://api.github.com/users/flea89/followers","following_url":"https://api.github.com/users/flea89/following{/other_user}","gists_url":"https://api.github.com/users/flea89/gists{/gist_id}","starred_url":"https://api.github.com/users/flea89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flea89/subscriptions","organizations_url":"https://api.github.com/users/flea89/orgs","repos_url":"https://api.github.com/users/flea89/repos","events_url":"https://api.github.com/users/flea89/events{/privacy}","received_events_url":"https://api.github.com/users/flea89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-25T09:57:28Z","updated_at":"2016-02-25T13:09:39Z","closed_at":null,"body":"Passing md-autofocus=\"true\" to the md-autocomplete directive has no effect: the input doesn't get focused.\r\n\r\nMaterial version 1.0.5\r\n\r\nLive example: http://codepen.io/anon/pen/ZQgZgp\r\n\r\nthanks."},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/188779444","html_url":"https://github.com/angular/material/issues/7283#issuecomment-188779444","issue_url":"https://api.github.com/repos/angular/material/issues/7283","id":188779444,"user":{"login":"DevVersion","id":4987015,"avatar_url":"https://avatars.githubusercontent.com/u/4987015?v=3","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T13:09:39Z","updated_at":"2016-02-25T13:09:39Z","body":"That's not the right use of the `md-autofocus` directive. As you can read [here](https://material.angularjs.org/latest/api/directive/mdAutofocus), the element will be only auto-focused when a `bottomsheet`, `dialog` or `sidenav` opens. "}}