{"action":"created","issue":{"url":"https://api.github.com/repos/adicu/adi-website/issues/152","labels_url":"https://api.github.com/repos/adicu/adi-website/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/adicu/adi-website/issues/152/comments","events_url":"https://api.github.com/repos/adicu/adi-website/issues/152/events","html_url":"https://github.com/adicu/adi-website/pull/152","id":65801112,"number":152,"title":"Improve parallax performance","user":{"login":"danrschlosser","id":2433509,"avatar_url":"https://avatars.githubusercontent.com/u/2433509?v=3","gravatar_id":"","url":"https://api.github.com/users/danrschlosser","html_url":"https://github.com/danrschlosser","followers_url":"https://api.github.com/users/danrschlosser/followers","following_url":"https://api.github.com/users/danrschlosser/following{/other_user}","gists_url":"https://api.github.com/users/danrschlosser/gists{/gist_id}","starred_url":"https://api.github.com/users/danrschlosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrschlosser/subscriptions","organizations_url":"https://api.github.com/users/danrschlosser/orgs","repos_url":"https://api.github.com/users/danrschlosser/repos","events_url":"https://api.github.com/users/danrschlosser/events{/privacy}","received_events_url":"https://api.github.com/users/danrschlosser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-01T23:42:10Z","updated_at":"2015-04-02T03:01:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adicu/adi-website/pulls/152","html_url":"https://github.com/adicu/adi-website/pull/152","diff_url":"https://github.com/adicu/adi-website/pull/152.diff","patch_url":"https://github.com/adicu/adi-website/pull/152.patch"},"body":"- change `translateY` to `translate3d()`, which is [easier for browsers to animate](https://medium.com/@dhg/parallax-done-right-82ced812e61c#8f60)\r\n- reduce parallax factor from 1/2 speed to 1/4\r\n- use `window.requestAnimationFrame()` to register animation, as opposed to working directly in the scroll handler.\r\n- extend the image upwards in CSS so that no gray bars will ever show behind the image if you scroll too fast."},"comment":{"url":"https://api.github.com/repos/adicu/adi-website/issues/comments/88709225","html_url":"https://github.com/adicu/adi-website/pull/152#issuecomment-88709225","issue_url":"https://api.github.com/repos/adicu/adi-website/issues/152","id":88709225,"user":{"login":"danrschlosser","id":2433509,"avatar_url":"https://avatars.githubusercontent.com/u/2433509?v=3","gravatar_id":"","url":"https://api.github.com/users/danrschlosser","html_url":"https://github.com/danrschlosser","followers_url":"https://api.github.com/users/danrschlosser/followers","following_url":"https://api.github.com/users/danrschlosser/following{/other_user}","gists_url":"https://api.github.com/users/danrschlosser/gists{/gist_id}","starred_url":"https://api.github.com/users/danrschlosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrschlosser/subscriptions","organizations_url":"https://api.github.com/users/danrschlosser/orgs","repos_url":"https://api.github.com/users/danrschlosser/repos","events_url":"https://api.github.com/users/danrschlosser/events{/privacy}","received_events_url":"https://api.github.com/users/danrschlosser/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T03:01:25Z","updated_at":"2015-04-02T03:01:25Z","body":"Resolved!"}}