How to make sure that on scrolling elements one element at a time using mCustomScrollbar. I have following html:
<ul>
<li>A</li>
<li>B</li>
<li>C</li>
<li>D</li>
</ul>
On scrolling ul
only one li
should scroll at a time i.e no element should skip scrolling.
You should use
scrollAmount
property inmouseWheel
object.