Skip to content
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

Mouse wheel scroll does not work on the google chrome after applying the slimscroll #287

Open
hardikpanseriya opened this issue Jul 27, 2017 · 2 comments

Comments

@hardikpanseriya
Copy link

I have used the datatable library to render the users on the page( like https://www.facebook.com/messages/t/)
I have also set the height to 485px in the datatable.
Default scrollbar will be applied when I set the height in the datatable. I want to apply nice scrollbar in place of browser default scrollbar. So, I have used following code to apply nice scrollbar in the datatable.

jQuery('#listview_chats_wrapper .dataTables_scrollBody').slimScroll({
     height: '485px'
});

When I navigate from that page to another page, occasionally mouse wheel scroll is not working in any of the page on the google chrome.
It is working perfectly when I remove the code of slimscroll.
Can you please look into it?

Thanks in advance.

@mahi13c
Copy link

mahi13c commented Nov 7, 2017

+1

@alexnum
Copy link

alexnum commented Mar 11, 2021

I've faced a simillar issue, for me, triggering a mouseover event right after the slimScroll appliance solved the issue.

$('#myDiv').slimScroll({});
$('#myDiv').tirgger('mouseover');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants