{"action":"created","issue":{"url":"https://api.github.com/repos/LLK/scratch-blocks/issues/543","repository_url":"https://api.github.com/repos/LLK/scratch-blocks","labels_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/543/comments","events_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/543/events","html_url":"https://github.com/LLK/scratch-blocks/issues/543","id":167426471,"number":543,"title":"Sometimes blocks seem to \"push\" the scroll wheel","user":{"login":"tmickel","id":120403,"avatar_url":"https://avatars.githubusercontent.com/u/120403?v=3","gravatar_id":"","url":"https://api.github.com/users/tmickel","html_url":"https://github.com/tmickel","followers_url":"https://api.github.com/users/tmickel/followers","following_url":"https://api.github.com/users/tmickel/following{/other_user}","gists_url":"https://api.github.com/users/tmickel/gists{/gist_id}","starred_url":"https://api.github.com/users/tmickel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmickel/subscriptions","organizations_url":"https://api.github.com/users/tmickel/orgs","repos_url":"https://api.github.com/users/tmickel/repos","events_url":"https://api.github.com/users/tmickel/events{/privacy}","received_events_url":"https://api.github.com/users/tmickel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LLK/scratch-blocks/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/LLK/scratch-blocks/milestones/2","html_url":"https://github.com/LLK/scratch-blocks/milestones/Backlog","labels_url":"https://api.github.com/repos/LLK/scratch-blocks/milestones/2/labels","id":1515187,"number":2,"title":"Backlog","description":"","creator":{"login":"thisandagain","id":747641,"avatar_url":"https://avatars.githubusercontent.com/u/747641?v=3","gravatar_id":"","url":"https://api.github.com/users/thisandagain","html_url":"https://github.com/thisandagain","followers_url":"https://api.github.com/users/thisandagain/followers","following_url":"https://api.github.com/users/thisandagain/following{/other_user}","gists_url":"https://api.github.com/users/thisandagain/gists{/gist_id}","starred_url":"https://api.github.com/users/thisandagain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisandagain/subscriptions","organizations_url":"https://api.github.com/users/thisandagain/orgs","repos_url":"https://api.github.com/users/thisandagain/repos","events_url":"https://api.github.com/users/thisandagain/events{/privacy}","received_events_url":"https://api.github.com/users/thisandagain/received_events","type":"User","site_admin":false},"open_issues":79,"closed_issues":64,"state":"open","created_at":"2016-01-19T14:14:51Z","updated_at":"2016-07-26T04:33:28Z","due_on":"2022-01-01T05:00:00Z","closed_at":null},"comments":1,"created_at":"2016-07-25T17:54:18Z","updated_at":"2016-07-26T05:32:32Z","closed_at":null,"body":"This is hard to reproduce. I've been able to get it to happen most reliably by doing sprinkles.\r\n\r\nIn Chrome, after doing Sprinkles, try to scroll with the mouse wheel to the upper left of the workspace. The workspace is always \"pushed back\" to the center, after a scroll completes. Also seems to happen in Safari."},"comment":{"url":"https://api.github.com/repos/LLK/scratch-blocks/issues/comments/235167134","html_url":"https://github.com/LLK/scratch-blocks/issues/543#issuecomment-235167134","issue_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/543","id":235167134,"user":{"login":"tmickel","id":120403,"avatar_url":"https://avatars.githubusercontent.com/u/120403?v=3","gravatar_id":"","url":"https://api.github.com/users/tmickel","html_url":"https://github.com/tmickel","followers_url":"https://api.github.com/users/tmickel/followers","following_url":"https://api.github.com/users/tmickel/following{/other_user}","gists_url":"https://api.github.com/users/tmickel/gists{/gist_id}","starred_url":"https://api.github.com/users/tmickel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmickel/subscriptions","organizations_url":"https://api.github.com/users/tmickel/orgs","repos_url":"https://api.github.com/users/tmickel/repos","events_url":"https://api.github.com/users/tmickel/events{/privacy}","received_events_url":"https://api.github.com/users/tmickel/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T05:32:32Z","updated_at":"2016-07-26T05:32:32Z","body":"Seems to be basically happening because sprinkles/spaghetti/domToBlock don't update the workspace metrics, but the wheel handler was using those. Adding `workspace.resizeContents();` to the end of each of the playground methods seems to fix the problem. Not sure if that's the right solution, though. @picklesrus "}}
{"actor":{"display_login":"tmickel"}}