asvd/dragscroll

Add on drag event?

krlicmuhamed opened this issue · 3 comments

It would be great to have a on('dragstart', function(){..}) event so when user is dragging you can change cursor pointer to grabbing for example.

asvd commented

There are already events which are reused by dragscrol, namely mousedown, mousemove and mouseup. Are they suitable for your purposes?

This can also be done via CSS:

.dragscroll:active {
    cursor : -webkit-grabbing;
    cursor : -moz-grabbing;
    cursor : -o-grabbing;
    cursor : grabbing;
}
m-vo commented

However, .dragscroll:active is not working in Firefox (tested with 50.1.0) while using dragscroll.js.

This problem persists so far. 😢

Has anyone solved it in any way?

@asvd @krlicmuhamed @m-vo