dragscroll icon indicating copy to clipboard operation
dragscroll copied to clipboard

Add on drag event?

Open krlicmuhamed opened this issue 9 years ago • 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.

krlicmuhamed avatar Oct 19 '16 11:10 krlicmuhamed

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;
}

asvd avatar Oct 27 '16 22:10 asvd

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

m-vo avatar Dec 19 '16 11:12 m-vo

This problem persists so far. 😢

Has anyone solved it in any way?

@asvd @krlicmuhamed @m-vo

KarllosSouza avatar Jan 21 '19 17:01 KarllosSouza