{"action":"created","issue":{"url":"https://api.github.com/repos/elementalui/elemental/issues/26","labels_url":"https://api.github.com/repos/elementalui/elemental/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/elementalui/elemental/issues/26/comments","events_url":"https://api.github.com/repos/elementalui/elemental/issues/26/events","html_url":"https://github.com/elementalui/elemental/issues/26","id":86939917,"number":26,"title":"Do we need Modal to follow scroll?","user":{"login":"nkbt","id":175264,"avatar_url":"https://avatars.githubusercontent.com/u/175264?v=3","gravatar_id":"","url":"https://api.github.com/users/nkbt","html_url":"https://github.com/nkbt","followers_url":"https://api.github.com/users/nkbt/followers","following_url":"https://api.github.com/users/nkbt/following{/other_user}","gists_url":"https://api.github.com/users/nkbt/gists{/gist_id}","starred_url":"https://api.github.com/users/nkbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkbt/subscriptions","organizations_url":"https://api.github.com/users/nkbt/orgs","repos_url":"https://api.github.com/users/nkbt/repos","events_url":"https://api.github.com/users/nkbt/events{/privacy}","received_events_url":"https://api.github.com/users/nkbt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-10T11:45:31Z","updated_at":"2015-07-07T03:05:55Z","closed_at":null,"body":"I reckon we could add an option for Modal to follow scroll. To some extend, of course, so it is possible to scroll if Modal is very long. So if I scroll up after showing modal, it should smoothly follow still having `100px` top margin. If I scroll down - it will follow only if bottom margin is `>=100px`.\r\n\r\nIf modal is longer then screen, it should follow up, but then will follow down only after bottom margin will be large enough (100px with current styles).\r\n\r\nUsing setTimeout/clearTimeout to check current scroll every, to say, `200ms`. Not `scroll` event.\r\n\r\n![modal-scroll](https://cloud.githubusercontent.com/assets/175264/8081609/807fccc4-0fb9-11e5-91f3-1ff6766090a3.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/elementalui/elemental/issues/comments/119057163","html_url":"https://github.com/elementalui/elemental/issues/26#issuecomment-119057163","issue_url":"https://api.github.com/repos/elementalui/elemental/issues/26","id":119057163,"user":{"login":"jossmac","id":2730833,"avatar_url":"https://avatars.githubusercontent.com/u/2730833?v=3","gravatar_id":"","url":"https://api.github.com/users/jossmac","html_url":"https://github.com/jossmac","followers_url":"https://api.github.com/users/jossmac/followers","following_url":"https://api.github.com/users/jossmac/following{/other_user}","gists_url":"https://api.github.com/users/jossmac/gists{/gist_id}","starred_url":"https://api.github.com/users/jossmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jossmac/subscriptions","organizations_url":"https://api.github.com/users/jossmac/orgs","repos_url":"https://api.github.com/users/jossmac/repos","events_url":"https://api.github.com/users/jossmac/events{/privacy}","received_events_url":"https://api.github.com/users/jossmac/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T03:05:55Z","updated_at":"2015-07-07T03:05:55Z","body":"Any word on this @nkbt?"}}