question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

onFinish is not working in ionRangeSlider

See original GitHub issue

Can you please provide the what is the bug in the following code

$("#my_slide").ionRangeSlider({
    type: "double",
    min: 1000,
    max: 12000,
    step: 500,
    force_edges: true,
    onFinish:function () {
        alert('slider drag finished');
        }     
});

There is no alert after finishing the click and drag on slider.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
IonDencommented, Feb 21, 2017

@valtido, it was the recent change to slider core, which i will probably revert soon, because it is really confusing.

1reaction
IonDencommented, Jun 2, 2016

http://jsfiddle.net/278ktdnz/ It is working.

You may have some local JS-issues, open web developer console and look for errors. Remember, if you are using some other code, alert function could be changed in it and will do nothing, like this: http://jsfiddle.net/278ktdnz/1/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ion slider - onFinish is fired up when page is loaded (not due ...
In the ion.rangeSlider.js there is a setting called: this.is_first_update = true;. Changing this to the false value should fix your problem!
Read more >
Ion.RangeSlider - Interactive demo
Interactions demo · Interact with Ion.RangeSlider using JavaScript · Callbacks · Reading data from slider · Using onChange event · Range Slider public...
Read more >
ion-rangeslider | Yarn - Package Manager
Ion.RangeSlider. Is an easy, flexible and responsive range slider with tons of options. Version: 2.3.1 | Version 3.x is under development now; Project...
Read more >
Sliders - Examples & Tutorials. Learn how to use ... - CoreUI
Ion.RangeSlider. Is an easy, flexible and responsive range slider with tons of options. Examples. Start without params. CoreUI Pro Component.
Read more >
ph/plugins/ion.rangeSlider/readme.md · africa · co2 bot ...
(3 skins included and PSD for skin creation); Any number of sliders at one page without conflicts and big performance problems; Two slider...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found