Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants