Merge pull request #124 from strichter/master

Fix scrolling within nested scrollable DIVs.
This commit is contained in:
Hyunje Alex Jun 2014-03-23 05:07:24 +09:00
commit 84360fb730

View File

@ -310,6 +310,7 @@
shouldPrevent = shouldPreventDefault(deltaX, deltaY); shouldPrevent = shouldPreventDefault(deltaX, deltaY);
if (shouldPrevent) { if (shouldPrevent) {
e.stopPropagation();
e.preventDefault(); e.preventDefault();
} }
}); });