Merge pull request #124 from strichter/master
Fix scrolling within nested scrollable DIVs.
This commit is contained in:
commit
84360fb730
@ -310,6 +310,7 @@
|
|||||||
|
|
||||||
shouldPrevent = shouldPreventDefault(deltaX, deltaY);
|
shouldPrevent = shouldPreventDefault(deltaX, deltaY);
|
||||||
if (shouldPrevent) {
|
if (shouldPrevent) {
|
||||||
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user