{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/frontend/issues/8296","labels_url":"https://api.github.com/repos/guardian/frontend/issues/8296/labels{/name}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/8296/comments","events_url":"https://api.github.com/repos/guardian/frontend/issues/8296/events","html_url":"https://github.com/guardian/frontend/pull/8296","id":57355681,"number":8296,"title":"<picture> again","user":{"login":"samdesborough","id":10436327,"avatar_url":"https://avatars.githubusercontent.com/u/10436327?v=3","gravatar_id":"","url":"https://api.github.com/users/samdesborough","html_url":"https://github.com/samdesborough","followers_url":"https://api.github.com/users/samdesborough/followers","following_url":"https://api.github.com/users/samdesborough/following{/other_user}","gists_url":"https://api.github.com/users/samdesborough/gists{/gist_id}","starred_url":"https://api.github.com/users/samdesborough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdesborough/subscriptions","organizations_url":"https://api.github.com/users/samdesborough/orgs","repos_url":"https://api.github.com/users/samdesborough/repos","events_url":"https://api.github.com/users/samdesborough/events{/privacy}","received_events_url":"https://api.github.com/users/samdesborough/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T18:25:10Z","updated_at":"2015-02-11T21:17:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/8296","html_url":"https://github.com/guardian/frontend/pull/8296","diff_url":"https://github.com/guardian/frontend/pull/8296.diff","patch_url":"https://github.com/guardian/frontend/pull/8296.patch"},"body":"Same as last time but with a change to picturefill that fixes the iOS issue we saw last night.\r\n\r\nThe problem was that picturefill reprocesses every element on the page whenever a resize event is fired, and for some reason iOS Safari fires that event on scroll. The fix is to only reprocess if the browser width has actually changed rather than on any resize event. There's a 250ms debounce so it'll take that long to update image sizes when it has to. \r\n\r\nThe next version of picturefill should include more general performance fixes so we can revisit this when it's out. "},"comment":{"url":"https://api.github.com/repos/guardian/frontend/issues/comments/73966697","html_url":"https://github.com/guardian/frontend/pull/8296#issuecomment-73966697","issue_url":"https://api.github.com/repos/guardian/frontend/issues/8296","id":73966697,"user":{"login":"robertberry","id":1001642,"avatar_url":"https://avatars.githubusercontent.com/u/1001642?v=3","gravatar_id":"","url":"https://api.github.com/users/robertberry","html_url":"https://github.com/robertberry","followers_url":"https://api.github.com/users/robertberry/followers","following_url":"https://api.github.com/users/robertberry/following{/other_user}","gists_url":"https://api.github.com/users/robertberry/gists{/gist_id}","starred_url":"https://api.github.com/users/robertberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertberry/subscriptions","organizations_url":"https://api.github.com/users/robertberry/orgs","repos_url":"https://api.github.com/users/robertberry/repos","events_url":"https://api.github.com/users/robertberry/events{/privacy}","received_events_url":"https://api.github.com/users/robertberry/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T21:17:45Z","updated_at":"2015-02-11T21:17:45Z","body":"Awesome. Well done on figuring this out. We should test on a bunch of devices tomorrow, happy to lend a hand"}}