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

Using mousedown and mouseup on slider #327

Open
albertoscandolara opened this issue Apr 24, 2019 · 1 comment
Open

Using mousedown and mouseup on slider #327

albertoscandolara opened this issue Apr 24, 2019 · 1 comment

Comments

@albertoscandolara
Copy link

Hi André ,
your bar is really great!

I'm tryng to intercept some events on your slidebar, but i manage only with the click event. I would need most of all the mousedown and the mouseup events.
The jquery code i use to try this is really simple:

// this fires
$('.rangeSlider__handle').on('click', function () {
alert('rangeSlider__handle click');
});

// this doesn't
$('.rangeSlider__handle').on('mousedown', function () {
alert('rangeSlider__handle mousedown');
});

Is there something really basic that i'm missing or is it a wanted behaviour?

Thanks a lot in advance
Best regards,

Alberto

@metapublic-gbr
Copy link

I am facing the same problem:

$('#js-rangeslider-0').on('mousedown', function () {
alert('rangeSlider__handle mousedown');
});

doesn't fire.

Why?

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

2 participants