style(slideBox): fix the fix for scrolling

This commit is contained in:
Andrew
2014-12-01 14:45:46 -07:00
parent de4ffa39f9
commit 73cd0c8563

View File

@@ -54,7 +54,9 @@ IonicModule
handleDragEnd(ev);
return;
}
isDragging = true;
if (Math.abs(deltaX) > Math.abs(deltaY) * 2) {
isDragging = true;
}
var percent = getDragPercent(ev.gesture.center.pageX);
opts.onDrag(percent);