我使用了 slimscroll,但不幸的是,鼠标滚轮无法上下滚动内容。
这是我使用的 Slimscroll 的代码:-
$(".new_notif").slimScroll({
height:'500px',
allowPageScroll: false,
disableFadeOut: true,
railVisible : true,
wheelStep: 20
});
请告诉我还有什么办法可以在 slimscroll 中启用鼠标滚轮?