-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox+Windows: Slimscroll scrolls whole page #289
Comments
ping @rochal |
Thanks! @PinkTiu , your fix helped me too! |
@PinkTiu this code works but another problem occur that mouse wheel unexpectedly scroll. If I scroll it will go on bottom in firefox Even not following wheelStep: 20 (defauklt value) on firefox |
jQuery-slimScroll/jquery.slimscroll.js Lines 389 to 400 in cf39d36
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
if you hover over the slimscroll content and start to scroll not only the slimscroll content is moving but also the whole page. This feels a bit strange. The expected behavior would be that only the slimscroll content scrolls and the page does not.
This only happens in Firefox running under Windows. In Chrome and Edge this works fine. With Firefox running under macOS or Linux this works fine, too.
You can fix the problem the following:
After line 394 in the current source code you have to add
target.addEventListener('MozMousePixelScroll', _onWheel, false);
This solves the problem for me.
The text was updated successfully, but these errors were encountered: