{"issue":{"state":"open","created_at":"2011-11-07T19:03:09Z","updated_at":"2011-11-23T18:44:48Z","comments":5,"user":{"gravatar_id":"4fd5600d0a9a67eda4986ea696985174","id":823364,"url":"https://api.github.com/users/owilliams","login":"owilliams","avatar_url":"https://secure.gravatar.com/avatar/4fd5600d0a9a67eda4986ea696985174?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"If you swipe very quickly several times it seems like the transition end event doesn't get fired (assuming because the actual transition doesn't fire?). This can be seen in the example below (mobile safari doesn't seem to like jsfiddle), everytime the callback is called we prepend to the list with the index. Press on the next link slowly and you see all callbacks, press quickly and you see we miss some indexes:\r\n\r\nhttp://jsfiddle.net/4a2yy/3/\r\n\r\n\r\nA hacky workaround is to call the callback at the end of the swipe function. I did this in the demo below, calling it within a setTimeout as otherwise it effects how smooth the transition appears in mobile safari.\r\n\r\nhttp://jsfiddle.net/VecTR/9/","assignee":null,"id":2166058,"number":9,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Callback not always fired","closed_at":null,"html_url":"https://github.com/bradbirdsall/Swipe/issues/9","milestone":null,"url":"https://api.github.com/repos/bradbirdsall/Swipe/issues/9"},"action":"created","comment":{"created_at":"2011-11-23T18:44:48Z","updated_at":"2011-11-23T18:44:48Z","user":{"gravatar_id":"7a1771406473b712f652ddfb864d90bc","id":1211019,"url":"https://api.github.com/users/bcolflesh","login":"bcolflesh","avatar_url":"https://secure.gravatar.com/avatar/7a1771406473b712f652ddfb864d90bc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Understood - thanks for the reply!","id":2852873,"url":"https://api.github.com/repos/bradbirdsall/Swipe/issues/comments/2852873"}}