{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/8179","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/8179/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/8179/comments","events_url":"https://api.github.com/repos/angular/material/issues/8179/events","html_url":"https://github.com/angular/material/pull/8179","id":150464215,"number":8179,"title":"Added mdPreventRefocus in sideNav","user":{"login":"jaxoncreed","id":5464743,"avatar_url":"https://avatars.githubusercontent.com/u/5464743?v=3","gravatar_id":"","url":"https://api.github.com/users/jaxoncreed","html_url":"https://github.com/jaxoncreed","followers_url":"https://api.github.com/users/jaxoncreed/followers","following_url":"https://api.github.com/users/jaxoncreed/following{/other_user}","gists_url":"https://api.github.com/users/jaxoncreed/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxoncreed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxoncreed/subscriptions","organizations_url":"https://api.github.com/users/jaxoncreed/orgs","repos_url":"https://api.github.com/users/jaxoncreed/repos","events_url":"https://api.github.com/users/jaxoncreed/events{/privacy}","received_events_url":"https://api.github.com/users/jaxoncreed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-22T20:29:26Z","updated_at":"2016-04-22T20:32:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular/material/pulls/8179","html_url":"https://github.com/angular/material/pull/8179","diff_url":"https://github.com/angular/material/pull/8179.diff","patch_url":"https://github.com/angular/material/pull/8179.patch"},"body":"The code here https://github.com/angular/material/blob/7c6ff3653eb3d006dfcd5733da084c0d01c8b7ea/src/components/sidenav/sidenav.js#L377 refocuses on the element that opened the sidenav. This functionality isn't desirable in every context (for example I have an element with a md-tooltip that opens a sidenav. When the sidenav is closed, the tooltip with show up because the opener has been focused on)\r\n\r\nNow adding md-prevent-refocus=\"true\" will prevent this behaviour."},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/213579425","html_url":"https://github.com/angular/material/pull/8179#issuecomment-213579425","issue_url":"https://api.github.com/repos/angular/material/issues/8179","id":213579425,"user":{"login":"jaxoncreed","id":5464743,"avatar_url":"https://avatars.githubusercontent.com/u/5464743?v=3","gravatar_id":"","url":"https://api.github.com/users/jaxoncreed","html_url":"https://github.com/jaxoncreed","followers_url":"https://api.github.com/users/jaxoncreed/followers","following_url":"https://api.github.com/users/jaxoncreed/following{/other_user}","gists_url":"https://api.github.com/users/jaxoncreed/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxoncreed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxoncreed/subscriptions","organizations_url":"https://api.github.com/users/jaxoncreed/orgs","repos_url":"https://api.github.com/users/jaxoncreed/repos","events_url":"https://api.github.com/users/jaxoncreed/events{/privacy}","received_events_url":"https://api.github.com/users/jaxoncreed/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T20:32:49Z","updated_at":"2016-04-22T20:32:49Z","body":"I've signed it!"}}