Fiddle
I have scrolled the dash with buttons, but the problem is that it seems like an error when the user scrolls using their wheel. Therefore, in order to solve this problem, I thought about catching the scroll stop position. I found this
$.fn.scrollStopped = function(callback) {
var that = this, $this = $(that);
$this.scroll(function(ev) {
clearTimeout($this.data('scrollTimeout'));
$this.data('scrollTimeout', setTimeout(callback.bind(that), 250, ev));
});
};
But I don’t know how to proceed.
source
share