{"action":"created","issue":{"url":"https://api.github.com/repos/taye/interact.js/issues/323","labels_url":"https://api.github.com/repos/taye/interact.js/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/taye/interact.js/issues/323/comments","events_url":"https://api.github.com/repos/taye/interact.js/issues/323/events","html_url":"https://github.com/taye/interact.js/issues/323","id":120142895,"number":323,"title":"Crashes if dragging is stopped","user":{"login":"cheungkonghou","id":4317715,"avatar_url":"https://avatars.githubusercontent.com/u/4317715?v=3","gravatar_id":"","url":"https://api.github.com/users/cheungkonghou","html_url":"https://github.com/cheungkonghou","followers_url":"https://api.github.com/users/cheungkonghou/followers","following_url":"https://api.github.com/users/cheungkonghou/following{/other_user}","gists_url":"https://api.github.com/users/cheungkonghou/gists{/gist_id}","starred_url":"https://api.github.com/users/cheungkonghou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheungkonghou/subscriptions","organizations_url":"https://api.github.com/users/cheungkonghou/orgs","repos_url":"https://api.github.com/users/cheungkonghou/repos","events_url":"https://api.github.com/users/cheungkonghou/events{/privacy}","received_events_url":"https://api.github.com/users/cheungkonghou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-03T10:47:46Z","updated_at":"2016-01-25T09:23:42Z","closed_at":null,"body":"If user is dragging an element and the action is stopped by some reason (in my case, an overlay is shown programmatically to cover the whole screen), exception is thrown when user release the mouse button, and it keeps throwing exceptions afterwards.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28813107-crashes-if-dragging-is-stopped?utm_campaign=plugin&utm_content=tracker%2F518286&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F518286&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/taye/interact.js/issues/comments/174446110","html_url":"https://github.com/taye/interact.js/issues/323#issuecomment-174446110","issue_url":"https://api.github.com/repos/taye/interact.js/issues/323","id":174446110,"user":{"login":"cheungkonghou","id":4317715,"avatar_url":"https://avatars.githubusercontent.com/u/4317715?v=3","gravatar_id":"","url":"https://api.github.com/users/cheungkonghou","html_url":"https://github.com/cheungkonghou","followers_url":"https://api.github.com/users/cheungkonghou/followers","following_url":"https://api.github.com/users/cheungkonghou/following{/other_user}","gists_url":"https://api.github.com/users/cheungkonghou/gists{/gist_id}","starred_url":"https://api.github.com/users/cheungkonghou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheungkonghou/subscriptions","organizations_url":"https://api.github.com/users/cheungkonghou/orgs","repos_url":"https://api.github.com/users/cheungkonghou/repos","events_url":"https://api.github.com/users/cheungkonghou/events{/privacy}","received_events_url":"https://api.github.com/users/cheungkonghou/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T09:23:42Z","updated_at":"2016-01-25T09:23:42Z","body":"interact-1.2.6.js line 4119: I enclosed the the function in a try catch so as to return false if exception thrown due to no dragRect is returned when element displaced or removed (line 4147). "}}