Slider sometimes freezes (state-tap)
-
After dragging and clicking (slider goes to point where you click) sometimes the slider gets stuck for a while (5-10 seconds). Somehow the slider keeps its ‘state-tap’ class. Seems that the trigger ‘change’ in slider.js (line 98) causes this.
When I comment this or replace $(‘.gfield .slider’) with ‘input’ this problem is solved. Probably this is not the best solution, it might affect the merge tags functionality. Any thoughts on the correct way to fix this behaviour?GFSlider.noUiSlider.on('update', function(sliderVal) { input.attr('value', sliderVal); // Triggers update of merge tags on mouseup and keyup $('.gfield .slider').trigger('change'); });
Really like this plugin, hope this contributes to make it a bit better.
- The topic ‘Slider sometimes freezes (state-tap)’ is closed to new replies.