diff --git a/lib/scroller.js b/lib/scroller.js index 7feac63..91de4ce 100755 --- a/lib/scroller.js +++ b/lib/scroller.js @@ -358,6 +358,7 @@ function makeScrollHandler(root, config){ .off('touchstart', startMoveHandler) .off('touchmove', moveHandler) .off('touchend', endMoveHandler) + .off('touchcancel', endMoveHandler) } else { root .off('mousedown', startMoveHandler) @@ -405,7 +406,8 @@ function makeScrollHandler(root, config){ // this differs from what postScrollCallback actually gets in the // same field when it recieves the object. // XXX add generic snap -// XXX add generic innertial scroll +// XXX add generic innertial scroll +// ...see jli.js/animateElementTo for a rough implementation // XXX test multiple touches... function postScrollCallback(data){ var scroller = data.scroller