Does anyone encounter the problem that when setup "scrollButtons: { scrollType: "stepped"} buttons doesn't work on touch devices? code:
$("container").mCustomScrollbar({
setHeight: false,
autoExpandScrollbar:true,
snapAmount: height,
mouseWheel: {
enable: false,
scrollAmount: height,
normalizeDelta:true
},
keyboard: {
enable: false,
scrollAmount: height
},
scrollButtons: {
enable: true,
scrollAmount: 1,
scrollType: "stepped"
},
advanced: {
updateOnContentResize: true
},
scrollInertia: 1,
contentTouchScroll: 10000,
documentTouchScroll: false
});