{"action":"created","issue":{"url":"https://api.github.com/repos/uikit/uikit/issues/1379","labels_url":"https://api.github.com/repos/uikit/uikit/issues/1379/labels{/name}","comments_url":"https://api.github.com/repos/uikit/uikit/issues/1379/comments","events_url":"https://api.github.com/repos/uikit/uikit/issues/1379/events","html_url":"https://github.com/uikit/uikit/issues/1379","id":93616583,"number":1379,"title":"Modal Window - body scrolls to top when body or html height is 100%","user":{"login":"DerBeni","id":3215130,"avatar_url":"https://avatars.githubusercontent.com/u/3215130?v=3","gravatar_id":"","url":"https://api.github.com/users/DerBeni","html_url":"https://github.com/DerBeni","followers_url":"https://api.github.com/users/DerBeni/followers","following_url":"https://api.github.com/users/DerBeni/following{/other_user}","gists_url":"https://api.github.com/users/DerBeni/gists{/gist_id}","starred_url":"https://api.github.com/users/DerBeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerBeni/subscriptions","organizations_url":"https://api.github.com/users/DerBeni/orgs","repos_url":"https://api.github.com/users/DerBeni/repos","events_url":"https://api.github.com/users/DerBeni/events{/privacy}","received_events_url":"https://api.github.com/users/DerBeni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T20:06:25Z","updated_at":"2015-07-09T10:00:16Z","closed_at":null,"body":"Hi,\r\n...i'm trying to use the modal window on a single page which different sections have an height of 100% each. To do so i'm unsing the uikit-tag \"uk-height-1-1\" for body and html containers too. So far so good.\r\n\r\n...but the whole page is skipping to the top of the page when opening the uikit modal window and thats's really \"not nice\".\r\n\r\nDoes somebody know how to prevent this? A fix for the modal window?"},"comment":{"url":"https://api.github.com/repos/uikit/uikit/issues/comments/119895108","html_url":"https://github.com/uikit/uikit/issues/1379#issuecomment-119895108","issue_url":"https://api.github.com/repos/uikit/uikit/issues/1379","id":119895108,"user":{"login":"malles","id":5442402,"avatar_url":"https://avatars.githubusercontent.com/u/5442402?v=3","gravatar_id":"","url":"https://api.github.com/users/malles","html_url":"https://github.com/malles","followers_url":"https://api.github.com/users/malles/followers","following_url":"https://api.github.com/users/malles/following{/other_user}","gists_url":"https://api.github.com/users/malles/gists{/gist_id}","starred_url":"https://api.github.com/users/malles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malles/subscriptions","organizations_url":"https://api.github.com/users/malles/orgs","repos_url":"https://api.github.com/users/malles/repos","events_url":"https://api.github.com/users/malles/events{/privacy}","received_events_url":"https://api.github.com/users/malles/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T10:00:16Z","updated_at":"2015-07-09T10:00:16Z","body":"It's caused by a conflict between the modal's overlay and the 100% height on the body element. \r\nPrevent it by using the `uk-height-viewport` on the actual elements you want to have the full height. Remove the height classes from body and html."}}