{"action":"created","issue":{"url":"https://api.github.com/repos/hpique/HPReorderTableView/issues/11","labels_url":"https://api.github.com/repos/hpique/HPReorderTableView/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/hpique/HPReorderTableView/issues/11/comments","events_url":"https://api.github.com/repos/hpique/HPReorderTableView/issues/11/events","html_url":"https://github.com/hpique/HPReorderTableView/issues/11","id":46232371,"number":11,"title":"Cells ordering gets messed up when dragging one cell quickly.","user":{"login":"aksh1t","id":1097857,"avatar_url":"https://avatars.githubusercontent.com/u/1097857?v=3","gravatar_id":"","url":"https://api.github.com/users/aksh1t","html_url":"https://github.com/aksh1t","followers_url":"https://api.github.com/users/aksh1t/followers","following_url":"https://api.github.com/users/aksh1t/following{/other_user}","gists_url":"https://api.github.com/users/aksh1t/gists{/gist_id}","starred_url":"https://api.github.com/users/aksh1t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aksh1t/subscriptions","organizations_url":"https://api.github.com/users/aksh1t/orgs","repos_url":"https://api.github.com/users/aksh1t/repos","events_url":"https://api.github.com/users/aksh1t/events{/privacy}","received_events_url":"https://api.github.com/users/aksh1t/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hpique/HPReorderTableView/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-20T05:20:17Z","updated_at":"2015-09-14T14:21:58Z","closed_at":null,"body":"Hi hpique, thanks a lot for this wonderful tableview. While playing around with the demo app, I found a pretty serious bug... I have made gif demonstrating the same.\r\n\r\n![temp](https://cloud.githubusercontent.com/assets/1097857/4696707/c85b6b52-5817-11e4-8034-a41862752545.gif)\r\n\r\nWhen I long press on a cell and then move it around very quickly (in both directions - up and down), the ordering of the other cells gets messed up. \r\n\r\nFor example, in the gif above, look at the cell 4. It gets stuck to the cell that I am currently dragging around. And when I leave the cell 1, a blank space is found where actually the cell 4 should have been. \r\n\r\nAlso, when dragging the cell over long distance (in both directions, quickly), the ordering of other cells in the table view gets haphazard. If this bug is difficult to reproduce, please do ask to clarify, I'll be happy to make other gifs with more detailed description to sort this bug out.\r\n\r\nThanks again, hpique!\r\n"},"comment":{"url":"https://api.github.com/repos/hpique/HPReorderTableView/issues/comments/140096234","html_url":"https://github.com/hpique/HPReorderTableView/issues/11#issuecomment-140096234","issue_url":"https://api.github.com/repos/hpique/HPReorderTableView/issues/11","id":140096234,"user":{"login":"AlmightyCZ","id":13013656,"avatar_url":"https://avatars.githubusercontent.com/u/13013656?v=3","gravatar_id":"","url":"https://api.github.com/users/AlmightyCZ","html_url":"https://github.com/AlmightyCZ","followers_url":"https://api.github.com/users/AlmightyCZ/followers","following_url":"https://api.github.com/users/AlmightyCZ/following{/other_user}","gists_url":"https://api.github.com/users/AlmightyCZ/gists{/gist_id}","starred_url":"https://api.github.com/users/AlmightyCZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlmightyCZ/subscriptions","organizations_url":"https://api.github.com/users/AlmightyCZ/orgs","repos_url":"https://api.github.com/users/AlmightyCZ/repos","events_url":"https://api.github.com/users/AlmightyCZ/events{/privacy}","received_events_url":"https://api.github.com/users/AlmightyCZ/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T14:21:58Z","updated_at":"2015-09-14T14:21:58Z","body":"Quick drag also causes call of  `- (void)tableView:(UITableView*)tableView moveRowAtIndexPath:(NSIndexPath*)sourceIndexPath toIndexPath:(NSIndexPath*)destinationIndexPath` with a row difference greater than one which is fine if the data source implementation \"knows\" that, but example implementation from title page (`exchangeObjectAtIndex`) leads to inconsistencies in underlying array."}}