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

Allow dragging on picker and slider #4

Open
grubshka opened this issue Jun 26, 2012 · 2 comments
Open

Allow dragging on picker and slider #4

grubshka opened this issue Jun 26, 2012 · 2 comments

Comments

@grubshka
Copy link

It should be quite easy and user-friendly to allow dragging on the picker and the slider, listening to "mousedown" and "mousemove" instead of click.

@sroussey
Copy link

This works on Chrome, but not Firefox.

@malihu
Copy link

malihu commented Jun 4, 2013

A quick fix for firefox:

$(document).bind("dragstart",function(e){
    if(e.target.nodeName.toUpperCase()=="RECT"){
        return false;
    }
});

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

3 participants