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 e696fef commit 29149d4Copy full SHA for 29149d4
jquery.mCustomScrollbar.js
@@ -1455,7 +1455,7 @@ and dependencies (minified).
1455
dlt=e.deltaY || delta;
1456
}
1457
if((dir==="y" && !d.overflowed[0]) || (dir==="x" && !d.overflowed[1])){return;}
1458
- if(o.mouseWheel.invert){dlt=-dlt;}
+ if(o.mouseWheel.invert || (o.horizontalScroll && e.deltaX !== -0)){dlt=-dlt;}
1459
if(o.mouseWheel.normalizeDelta){dlt=dlt<0 ? -1 : 1;}
1460
if((dlt>0 && draggerPos!==0) || (dlt<0 && draggerPos!==limit) || o.mouseWheel.preventDefault){
1461
e.stopImmediatePropagation();
0 commit comments