Merge pull request #424 from azala/master

Fixes touch event handling in nested scrollbar containers
This commit is contained in:
DanielApt 2016-02-01 17:58:17 +00:00
commit 3d91c6f098

View File

@ -87,6 +87,9 @@ function bindTouchHandler(element, i, supportsTouch, supportsIePointer) {
} }
} }
function touchMove(e) { function touchMove(e) {
if (!inLocalTouch && i.settings.swipePropagation) {
touchStart(e);
}
if (!inGlobalTouch && inLocalTouch && shouldHandle(e)) { if (!inGlobalTouch && inLocalTouch && shouldHandle(e)) {
var touch = getTouch(e); var touch = getTouch(e);