Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add on drag event? #23

Open
krlicmuhamed opened this issue Oct 19, 2016 · 3 comments
Open

Add on drag event? #23

krlicmuhamed opened this issue Oct 19, 2016 · 3 comments

Comments

@krlicmuhamed
Copy link

krlicmuhamed commented Oct 19, 2016

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
Copy link
Owner

asvd commented Oct 27, 2016

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
Copy link

m-vo commented Dec 19, 2016

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

@KarllosSouza
Copy link

KarllosSouza commented Jan 21, 2019

This problem persists so far. 😢

Has anyone solved it in any way?

@asvd @krlicmuhamed @m-vo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants