{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/4124","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/4124/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/4124/comments","events_url":"https://api.github.com/repos/angular/material/issues/4124/events","html_url":"https://github.com/angular/material/issues/4124","id":100572823,"number":4124,"title":"mdDialog cuts off/hides body when window is scrolled","user":{"login":"rgthree","id":476360,"avatar_url":"https://avatars.githubusercontent.com/u/476360?v=3","gravatar_id":"","url":"https://api.github.com/users/rgthree","html_url":"https://github.com/rgthree","followers_url":"https://api.github.com/users/rgthree/followers","following_url":"https://api.github.com/users/rgthree/following{/other_user}","gists_url":"https://api.github.com/users/rgthree/gists{/gist_id}","starred_url":"https://api.github.com/users/rgthree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgthree/subscriptions","organizations_url":"https://api.github.com/users/rgthree/orgs","repos_url":"https://api.github.com/users/rgthree/repos","events_url":"https://api.github.com/users/rgthree/events{/privacy}","received_events_url":"https://api.github.com/users/rgthree/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/needs:%20team%20discussion","name":"needs: team discussion","color":"c7def8"},{"url":"https://api.github.com/repos/angular/material/labels/reported%20by%20Googler","name":"reported by Googler","color":"207de5"}],"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":{"url":"https://api.github.com/repos/angular/material/milestones/11","html_url":"https://github.com/angular/material/milestones/Backlog","labels_url":"https://api.github.com/repos/angular/material/milestones/11/labels","id":865967,"number":11,"title":"Backlog","description":"Grouping for issues that have been reviewed and require further information before assignment to milestone is possible.","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":1246,"closed_issues":441,"state":"open","created_at":"2014-11-14T00:54:02Z","updated_at":"2016-03-20T21:46:11Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2015-08-12T15:41:33Z","updated_at":"2016-03-21T12:54:02Z","closed_at":null,"body":"Fiddle: http://jsfiddle.net/rgthree/9m7z8cqy/\r\n\r\nIf body has any `overflow` applied by the app, angular overrides its style to `hidden` when the dialog is open. This clashes with the other styles added to body, particularly, `position: fixed; top: -XXpx;` and `max-height: 100%` from the `md-dialog-is-showing` class which ends up cutting off the body content or completely hiding it when the window has scrolled more than 100% the height.\r\n\r\n_Note, we use `body {overflow-x:scroll;}` to force a scrollbar and reduce horizontal jitter when page content height changes due to navigation._"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/199258385","html_url":"https://github.com/angular/material/issues/4124#issuecomment-199258385","issue_url":"https://api.github.com/repos/angular/material/issues/4124","id":199258385,"user":{"login":"lexyfeito","id":2266638,"avatar_url":"https://avatars.githubusercontent.com/u/2266638?v=3","gravatar_id":"","url":"https://api.github.com/users/lexyfeito","html_url":"https://github.com/lexyfeito","followers_url":"https://api.github.com/users/lexyfeito/followers","following_url":"https://api.github.com/users/lexyfeito/following{/other_user}","gists_url":"https://api.github.com/users/lexyfeito/gists{/gist_id}","starred_url":"https://api.github.com/users/lexyfeito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexyfeito/subscriptions","organizations_url":"https://api.github.com/users/lexyfeito/orgs","repos_url":"https://api.github.com/users/lexyfeito/repos","events_url":"https://api.github.com/users/lexyfeito/events{/privacy}","received_events_url":"https://api.github.com/users/lexyfeito/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T12:54:02Z","updated_at":"2016-03-21T12:54:02Z","body":"@zilions hey so after reading @abouillon comment i set the body `overflow: initial;` and it seems to fixed the problem."}}