dragscroll
dragscroll copied to clipboard
Add on drag event?
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.
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;
}
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