We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc10340 commit 1896606Copy full SHA for 1896606
src/js/mouse/wheel.js
@@ -151,9 +151,8 @@ function MouseWheelHandler(e) {
151
scrollings.push(Math.abs(value));
152
153
//preventing to scroll the site on mouse wheel when scrollbar is present
154
- if(getOptions().scrollBar){
155
- utils.preventDefault(e);
156
- }
+ //and preventing scroll of parent frames
+ utils.preventDefault(e);
157
158
//time difference between the last scroll and the current one
159
var timeDiff = curTime-prevTime;
0 commit comments