{"action":"created","issue":{"url":"https://api.github.com/repos/leafo/sticky-kit/issues/97","labels_url":"https://api.github.com/repos/leafo/sticky-kit/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/leafo/sticky-kit/issues/97/comments","events_url":"https://api.github.com/repos/leafo/sticky-kit/issues/97/events","html_url":"https://github.com/leafo/sticky-kit/issues/97","id":60837186,"number":97,"title":"Parent > child height","user":{"login":"jraack","id":1654772,"avatar_url":"https://avatars.githubusercontent.com/u/1654772?v=3","gravatar_id":"","url":"https://api.github.com/users/jraack","html_url":"https://github.com/jraack","followers_url":"https://api.github.com/users/jraack/followers","following_url":"https://api.github.com/users/jraack/following{/other_user}","gists_url":"https://api.github.com/users/jraack/gists{/gist_id}","starred_url":"https://api.github.com/users/jraack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraack/subscriptions","organizations_url":"https://api.github.com/users/jraack/orgs","repos_url":"https://api.github.com/users/jraack/repos","events_url":"https://api.github.com/users/jraack/events{/privacy}","received_events_url":"https://api.github.com/users/jraack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T15:29:28Z","updated_at":"2015-03-12T15:45:34Z","closed_at":null,"body":"Hi guys,\r\n\r\nCorrect me if i am wrong. Just a quick notice\r\nI was working with sticky-kit and i noticed a little problem, in my case, when your viewport (browser height) is less higher than your sticky element, the top sticky position (top: pos + \"px\") will be compensated. Because you stick at the top of the element you want that it will stay in place.\r\nSo i added this rule at 156 \r\nif(win_height < height) offset = 0; \r\n\r\nnow it stays in place.\r\n\r\nbest regards, Joe"},"comment":{"url":"https://api.github.com/repos/leafo/sticky-kit/issues/comments/78506774","html_url":"https://github.com/leafo/sticky-kit/issues/97#issuecomment-78506774","issue_url":"https://api.github.com/repos/leafo/sticky-kit/issues/97","id":78506774,"user":{"login":"jraack","id":1654772,"avatar_url":"https://avatars.githubusercontent.com/u/1654772?v=3","gravatar_id":"","url":"https://api.github.com/users/jraack","html_url":"https://github.com/jraack","followers_url":"https://api.github.com/users/jraack/followers","following_url":"https://api.github.com/users/jraack/following{/other_user}","gists_url":"https://api.github.com/users/jraack/gists{/gist_id}","starred_url":"https://api.github.com/users/jraack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraack/subscriptions","organizations_url":"https://api.github.com/users/jraack/orgs","repos_url":"https://api.github.com/users/jraack/repos","events_url":"https://api.github.com/users/jraack/events{/privacy}","received_events_url":"https://api.github.com/users/jraack/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T15:45:33Z","updated_at":"2015-03-12T15:45:33Z","body":"![ezgif-2481905575](https://cloud.githubusercontent.com/assets/1654772/6621484/3187749c-c8d7-11e4-9a07-404cabcf0daa.gif)\r\n"}}