{"action":"created","issue":{"url":"https://api.github.com/repos/LLK/scratch-blocks/issues/1742","repository_url":"https://api.github.com/repos/LLK/scratch-blocks","labels_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/1742/labels{/name}","comments_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/1742/comments","events_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/1742/events","html_url":"https://github.com/LLK/scratch-blocks/pull/1742","id":373061982,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MDg1OTI5","number":1742,"title":"When duplicating on touch, don't start a drag with the new blocks","user":{"login":"rachel-fenichel","id":13686399,"node_id":"MDQ6VXNlcjEzNjg2Mzk5","avatar_url":"https://avatars2.githubusercontent.com/u/13686399?v=4","gravatar_id":"","url":"https://api.github.com/users/rachel-fenichel","html_url":"https://github.com/rachel-fenichel","followers_url":"https://api.github.com/users/rachel-fenichel/followers","following_url":"https://api.github.com/users/rachel-fenichel/following{/other_user}","gists_url":"https://api.github.com/users/rachel-fenichel/gists{/gist_id}","starred_url":"https://api.github.com/users/rachel-fenichel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rachel-fenichel/subscriptions","organizations_url":"https://api.github.com/users/rachel-fenichel/orgs","repos_url":"https://api.github.com/users/rachel-fenichel/repos","events_url":"https://api.github.com/users/rachel-fenichel/events{/privacy}","received_events_url":"https://api.github.com/users/rachel-fenichel/received_events","type":"User","site_admin":false},"labels":[{"id":310492060,"node_id":"MDU6TGFiZWwzMTA0OTIwNjA=","url":"https://api.github.com/repos/LLK/scratch-blocks/labels/pr%20-%20needs%20review","name":"pr - needs review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"picklesrus","id":15675877,"node_id":"MDQ6VXNlcjE1Njc1ODc3","avatar_url":"https://avatars0.githubusercontent.com/u/15675877?v=4","gravatar_id":"","url":"https://api.github.com/users/picklesrus","html_url":"https://github.com/picklesrus","followers_url":"https://api.github.com/users/picklesrus/followers","following_url":"https://api.github.com/users/picklesrus/following{/other_user}","gists_url":"https://api.github.com/users/picklesrus/gists{/gist_id}","starred_url":"https://api.github.com/users/picklesrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/picklesrus/subscriptions","organizations_url":"https://api.github.com/users/picklesrus/orgs","repos_url":"https://api.github.com/users/picklesrus/repos","events_url":"https://api.github.com/users/picklesrus/events{/privacy}","received_events_url":"https://api.github.com/users/picklesrus/received_events","type":"User","site_admin":false},"assignees":[{"login":"picklesrus","id":15675877,"node_id":"MDQ6VXNlcjE1Njc1ODc3","avatar_url":"https://avatars0.githubusercontent.com/u/15675877?v=4","gravatar_id":"","url":"https://api.github.com/users/picklesrus","html_url":"https://github.com/picklesrus","followers_url":"https://api.github.com/users/picklesrus/followers","following_url":"https://api.github.com/users/picklesrus/following{/other_user}","gists_url":"https://api.github.com/users/picklesrus/gists{/gist_id}","starred_url":"https://api.github.com/users/picklesrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/picklesrus/subscriptions","organizations_url":"https://api.github.com/users/picklesrus/orgs","repos_url":"https://api.github.com/users/picklesrus/repos","events_url":"https://api.github.com/users/picklesrus/events{/privacy}","received_events_url":"https://api.github.com/users/picklesrus/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/LLK/scratch-blocks/milestones/44","html_url":"https://github.com/LLK/scratch-blocks/milestone/44","labels_url":"https://api.github.com/repos/LLK/scratch-blocks/milestones/44/labels","id":3585020,"node_id":"MDk6TWlsZXN0b25lMzU4NTAyMA==","number":44,"title":"October 2018","description":"","creator":{"login":"thisandagain","id":747641,"node_id":"MDQ6VXNlcjc0NzY0MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/747641?v=4","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":4,"closed_issues":8,"state":"open","created_at":"2018-08-20T20:07:23Z","updated_at":"2018-10-23T20:43:00Z","due_on":"2018-10-31T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-10-23T15:28:45Z","updated_at":"2018-10-23T20:46:49Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/LLK/scratch-blocks/pulls/1742","html_url":"https://github.com/LLK/scratch-blocks/pull/1742","diff_url":"https://github.com/LLK/scratch-blocks/pull/1742.diff","patch_url":"https://github.com/LLK/scratch-blocks/pull/1742.patch"},"body":"### Resolves\r\n\r\nFixes #1647 \r\n\r\n### Proposed Changes\r\n\r\nCheck whether the context menu on a block was opened from a mouse event or other event.\r\n\r\nIf it was a mouse event, keep the current behaviour of creating new blocks and immediately starting a drag.\r\n\r\nIf it was not a mouse event, place the new blocks slightly offset from the old blocks (down and to the right in LTR, down and to the left in RTL) and don't start a new drag.\r\n\r\n### Reason for Changes\r\n\r\nStarting a new drag on touchend with no mouse pointer is a bad experience--no pointer to track, and no way to tell that the current state is \"dragging\".\r\n\r\n### Test Coverage\r\n\r\nTested in LTR and RTL in the playground.\r\n\r\n### Additional Information\r\nI'm just offsetting by 100, 100.  If you want other offsets, that's easy to change as well."},"comment":{"url":"https://api.github.com/repos/LLK/scratch-blocks/issues/comments/432413206","html_url":"https://github.com/LLK/scratch-blocks/pull/1742#issuecomment-432413206","issue_url":"https://api.github.com/repos/LLK/scratch-blocks/issues/1742","id":432413206,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjQxMzIwNg==","user":{"login":"picklesrus","id":15675877,"node_id":"MDQ6VXNlcjE1Njc1ODc3","avatar_url":"https://avatars0.githubusercontent.com/u/15675877?v=4","gravatar_id":"","url":"https://api.github.com/users/picklesrus","html_url":"https://github.com/picklesrus","followers_url":"https://api.github.com/users/picklesrus/followers","following_url":"https://api.github.com/users/picklesrus/following{/other_user}","gists_url":"https://api.github.com/users/picklesrus/gists{/gist_id}","starred_url":"https://api.github.com/users/picklesrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/picklesrus/subscriptions","organizations_url":"https://api.github.com/users/picklesrus/orgs","repos_url":"https://api.github.com/users/picklesrus/repos","events_url":"https://api.github.com/users/picklesrus/events{/privacy}","received_events_url":"https://api.github.com/users/picklesrus/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T20:46:49Z","updated_at":"2018-10-23T20:46:49Z","author_association":"COLLABORATOR","body":"LGTM"}}
{"actor":{"display_login":"picklesrus"}}