{"action":"created","issue":{"url":"https://api.github.com/repos/atlassian/react-beautiful-dnd/issues/558","repository_url":"https://api.github.com/repos/atlassian/react-beautiful-dnd","labels_url":"https://api.github.com/repos/atlassian/react-beautiful-dnd/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/atlassian/react-beautiful-dnd/issues/558/comments","events_url":"https://api.github.com/repos/atlassian/react-beautiful-dnd/issues/558/events","html_url":"https://github.com/atlassian/react-beautiful-dnd/issues/558","id":334061499,"node_id":"MDU6SXNzdWUzMzQwNjE0OTk=","number":558,"title":"Getting unexpected index for destination","user":{"login":"anandchapter247","id":8499364,"node_id":"MDQ6VXNlcjg0OTkzNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8499364?v=4","gravatar_id":"","url":"https://api.github.com/users/anandchapter247","html_url":"https://github.com/anandchapter247","followers_url":"https://api.github.com/users/anandchapter247/followers","following_url":"https://api.github.com/users/anandchapter247/following{/other_user}","gists_url":"https://api.github.com/users/anandchapter247/gists{/gist_id}","starred_url":"https://api.github.com/users/anandchapter247/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandchapter247/subscriptions","organizations_url":"https://api.github.com/users/anandchapter247/orgs","repos_url":"https://api.github.com/users/anandchapter247/repos","events_url":"https://api.github.com/users/anandchapter247/events{/privacy}","received_events_url":"https://api.github.com/users/anandchapter247/received_events","type":"User","site_admin":false},"labels":[{"id":666398712,"node_id":"MDU6TGFiZWw2NjYzOTg3MTI=","url":"https://api.github.com/repos/atlassian/react-beautiful-dnd/labels/more%20information%20required","name":"more information required","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-20T12:48:24Z","updated_at":"2018-06-21T18:47:58Z","closed_at":null,"author_association":"NONE","body":"Hii, First of all, thank you for such a beautiful library. I've implemented it with `react typings`. But I'm getting some unexpected result after the drop.\r\nCheck this gif\r\n\r\n![dd](https://user-images.githubusercontent.com/8499364/41659245-5aba533c-74b6-11e8-86e6-dd2c5b42c0d3.gif)\r\n\r\n\r\nPlease let me know when such type of issue occurs. \r\n"},"comment":{"url":"https://api.github.com/repos/atlassian/react-beautiful-dnd/issues/comments/399205587","html_url":"https://github.com/atlassian/react-beautiful-dnd/issues/558#issuecomment-399205587","issue_url":"https://api.github.com/repos/atlassian/react-beautiful-dnd/issues/558","id":399205587,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTIwNTU4Nw==","user":{"login":"shawninder","id":484730,"node_id":"MDQ6VXNlcjQ4NDczMA==","avatar_url":"https://avatars3.githubusercontent.com/u/484730?v=4","gravatar_id":"","url":"https://api.github.com/users/shawninder","html_url":"https://github.com/shawninder","followers_url":"https://api.github.com/users/shawninder/followers","following_url":"https://api.github.com/users/shawninder/following{/other_user}","gists_url":"https://api.github.com/users/shawninder/gists{/gist_id}","starred_url":"https://api.github.com/users/shawninder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawninder/subscriptions","organizations_url":"https://api.github.com/users/shawninder/orgs","repos_url":"https://api.github.com/users/shawninder/repos","events_url":"https://api.github.com/users/shawninder/events{/privacy}","received_events_url":"https://api.github.com/users/shawninder/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T18:47:58Z","updated_at":"2018-06-21T18:47:58Z","author_association":"NONE","body":"@anandchapter247 In my limited experience, `destination` will be `null` if you drag something back to its starting point (which makes sense, it ended up not moving, so no destination) or somewhere it can't drop (which will then bring it back automatically to its starting point).\r\n\r\nNotice, in the link alexreardon just posted, on line 53 of index.js, they test for the truthiness of `destination` for this reason. If there's no destination, it means nothing has moved and there's no need to update the state.\r\n\r\nHope this helps"}}
{"actor":{"display_login":"shawninder"}}