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

Clicking on a pip doesn't fire slidestop #120

Open
heymarkreeves opened this issue Feb 21, 2018 · 1 comment
Open

Clicking on a pip doesn't fire slidestop #120

heymarkreeves opened this issue Feb 21, 2018 · 1 comment
Assignees

Comments

@heymarkreeves
Copy link

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

heymarkreeves commented Feb 22, 2018

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 :)

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

No branches or pull requests

2 participants