diff --git a/src/perfect-scrollbar.js b/src/perfect-scrollbar.js index 7914234..9039fa7 100644 --- a/src/perfect-scrollbar.js +++ b/src/perfect-scrollbar.js @@ -233,6 +233,10 @@ e.preventDefault(); } }); + + // fix Firefox scroll problem + $this.bind('DOMMouseScroll.perfect-scroll', function (e) { e.preventDefault(); }); + $this.bind('MozMousePixelScroll.perfect-scroll', function (e) { e.preventDefault(); }); }; // bind mobile touch handler