{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/6388","labels_url":"https://api.github.com/repos/angular/material/issues/6388/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/6388/comments","events_url":"https://api.github.com/repos/angular/material/issues/6388/events","html_url":"https://github.com/angular/material/issues/6388","id":122988344,"number":6388,"title":"Sidenav Weird behaviour if trigger by keyup event","user":{"login":"shak18","id":8203017,"avatar_url":"https://avatars.githubusercontent.com/u/8203017?v=3","gravatar_id":"","url":"https://api.github.com/users/shak18","html_url":"https://github.com/shak18","followers_url":"https://api.github.com/users/shak18/followers","following_url":"https://api.github.com/users/shak18/following{/other_user}","gists_url":"https://api.github.com/users/shak18/gists{/gist_id}","starred_url":"https://api.github.com/users/shak18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shak18/subscriptions","organizations_url":"https://api.github.com/users/shak18/orgs","repos_url":"https://api.github.com/users/shak18/repos","events_url":"https://api.github.com/users/shak18/events{/privacy}","received_events_url":"https://api.github.com/users/shak18/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"EladBezalel","id":6004537,"avatar_url":"https://avatars.githubusercontent.com/u/6004537?v=3","gravatar_id":"","url":"https://api.github.com/users/EladBezalel","html_url":"https://github.com/EladBezalel","followers_url":"https://api.github.com/users/EladBezalel/followers","following_url":"https://api.github.com/users/EladBezalel/following{/other_user}","gists_url":"https://api.github.com/users/EladBezalel/gists{/gist_id}","starred_url":"https://api.github.com/users/EladBezalel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EladBezalel/subscriptions","organizations_url":"https://api.github.com/users/EladBezalel/orgs","repos_url":"https://api.github.com/users/EladBezalel/repos","events_url":"https://api.github.com/users/EladBezalel/events{/privacy}","received_events_url":"https://api.github.com/users/EladBezalel/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-18T17:05:52Z","updated_at":"2016-01-09T10:28:57Z","closed_at":null,"body":"i have recently implemented a method to display one of the sidenavs of my project with a hotkey insted of just a button click and i noticed some weird behaviour on the sidenav when triggered by keys.\r\n\r\nFor like a second it scrolls my page to the left pushing the content and scrolling the side almost to the middle of the screen before goes to normal the event is this simple:\r\n\r\n                       angular.element(document).keyup(function (e) {\r\n                            if (!!e.altKey && e.which == 77) {\r\n                                angular.element('#right-menu-trigger').click(); // i trigger the click of the button that displays the sidenav\r\n                            }\r\n                        });\r\n\r\n\r\nand the result of that is:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/8203017/11902391/0748c14a-a577-11e5-9184-8640af8a9311.png)\r\n\r\n\r\nnormally is just:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/8203017/11902418/3fa4d2ae-a577-11e5-8151-2f964d43f749.png)\r\n\r\n\r\nhas anyone experienced something like that and have a way to fix it"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/170221698","html_url":"https://github.com/angular/material/issues/6388#issuecomment-170221698","issue_url":"https://api.github.com/repos/angular/material/issues/6388","id":170221698,"user":{"login":"EladBezalel","id":6004537,"avatar_url":"https://avatars.githubusercontent.com/u/6004537?v=3","gravatar_id":"","url":"https://api.github.com/users/EladBezalel","html_url":"https://github.com/EladBezalel","followers_url":"https://api.github.com/users/EladBezalel/followers","following_url":"https://api.github.com/users/EladBezalel/following{/other_user}","gists_url":"https://api.github.com/users/EladBezalel/gists{/gist_id}","starred_url":"https://api.github.com/users/EladBezalel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EladBezalel/subscriptions","organizations_url":"https://api.github.com/users/EladBezalel/orgs","repos_url":"https://api.github.com/users/EladBezalel/repos","events_url":"https://api.github.com/users/EladBezalel/events{/privacy}","received_events_url":"https://api.github.com/users/EladBezalel/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T10:28:57Z","updated_at":"2016-01-09T10:28:57Z","body":"@shak18 can you please provide a codepen so we can investigate more?"}}