{"action":"opened","issue":{"url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1103","repository_url":"https://api.github.com/repos/intljusticemission/react-big-calendar","labels_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1103/labels{/name}","comments_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1103/comments","events_url":"https://api.github.com/repos/intljusticemission/react-big-calendar/issues/1103/events","html_url":"https://github.com/intljusticemission/react-big-calendar/issues/1103","id":379718830,"node_id":"MDU6SXNzdWUzNzk3MTg4MzA=","number":1103,"title":"Performance Issue with DnD and onSelectEvent","user":{"login":"dbuchet-bandc","id":28299515,"node_id":"MDQ6VXNlcjI4Mjk5NTE1","avatar_url":"https://avatars1.githubusercontent.com/u/28299515?v=4","gravatar_id":"","url":"https://api.github.com/users/dbuchet-bandc","html_url":"https://github.com/dbuchet-bandc","followers_url":"https://api.github.com/users/dbuchet-bandc/followers","following_url":"https://api.github.com/users/dbuchet-bandc/following{/other_user}","gists_url":"https://api.github.com/users/dbuchet-bandc/gists{/gist_id}","starred_url":"https://api.github.com/users/dbuchet-bandc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbuchet-bandc/subscriptions","organizations_url":"https://api.github.com/users/dbuchet-bandc/orgs","repos_url":"https://api.github.com/users/dbuchet-bandc/repos","events_url":"https://api.github.com/users/dbuchet-bandc/events{/privacy}","received_events_url":"https://api.github.com/users/dbuchet-bandc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-12T10:45:30Z","updated_at":"2018-11-12T10:45:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"#### Do you want to request a _feature_ or report a _bug_?\r\nPerformance issue\r\n\r\n#### What's the current behavior?\r\nHi there.\r\nI've just updated from 0.19.2 to 0.20.2 and I have a performance issue when using `onSelectEvent` with DnD activated\r\n![prtscr_capture](https://user-images.githubusercontent.com/28299515/48342358-bce9d700-e66f-11e8-8018-b7a63e08af25.jpg)\r\n\r\nNo problem with 0.19.2 (i'm using the same code) or if set event `draggable` to false.\r\nSo I assume there is a leak when detecting `click` event vs `startDrag` /  `endDrag`\r\n\r\nI've launched DnD example and added an `onSelectEvent` with a `console.log`, and I have 1.5s delay before the `console.log` is triggered, so I assume it's not from my code :)\r\n\r\n\r\nThanks !"}}
{"actor":{"display_login":"dbuchet-bandc"}}