jQuery-ui-Slider-Pips icon indicating copy to clipboard operation
jQuery-ui-Slider-Pips copied to clipboard

Clicking on a pip doesn't fire slidestop

Open heymarkreeves opened this issue 7 years ago • 1 comments

Hello!

I'm using v1.11.4 - 2016-09-04. Everyone's thrilled with what we've put together visually using Slider Pips.

My Slider is triggering the loading of data onto a map, so I've had to rely on jQuery UI Slider's slidestop rather than slidechange method. Slidechange fires too fast. We only update the map with new pins when they let go of the slider at a chosen interval.

It seems that when I click a pip, only slidechange fires.

Can slidestop be supported as well?

Thanks!

heymarkreeves avatar Feb 21 '18 23:02 heymarkreeves

I've worked around this by setting up a click handler for $('.ui-slider-label'), that calls the same function I'm calling on slidestop, passing in the slider's value instead of using ui.value.

Still seems like clicking a label should be considered a shortcut to a slide, which ends with a slidestop :)

heymarkreeves avatar Feb 22 '18 00:02 heymarkreeves