jQRangeSlider icon indicating copy to clipboard operation
jQRangeSlider copied to clipboard

When defining a scale, the valueLabels (set to "change") are shown at the start

Open think-tanker-alex opened this issue 11 years ago • 6 comments

I defined a (2-dimensional) scale, and set the valueLabels to "change" (together with a "delayOut"). The valueLabels are shown when after loading the slider. When I move them, they are hidden after a delay. If I remove the scales, the valueLabels are hidden after load.

Is this intended behaviour? I want to use a scale but also the valueLabels to only be shown while moving, not right from the start.

Version: 5.7.0 Browser: Firefox 28 OS: Windows 8.1

think-tanker-alex avatar Apr 15 '14 08:04 think-tanker-alex

There is an example in the documentation page with this option: http://ghusse.github.io/jQRangeSlider/options.html#valueLabelsOption

But it does not show this problem.

Can you create a jsfiddle or a static HTML page showing this issue ? You can use this jsfiddle as a start: http://jsfiddle.net/ghusse/zrbCj/

ghusse avatar Apr 15 '14 08:04 ghusse

I tried to reproduce the problem at the jsfiddle page, but were not able to.

But there are some (smaller?) differences in the real project I work on: .) I only include the jQAllRangeSliders-withRuler-min.js (and the iThing.css) .) I use a formatter function to let the values be displayed as time. .) I embed a lots of range sliders on the same page, all in all they are 21 sliders.

Maybe the JS file to download is not exactly the same like the one included in the jsfiddle?

The link to the updated jsfiddle: http://jsfiddle.net/zrbCj/762/

think-tanker-alex avatar Apr 15 '14 09:04 think-tanker-alex

I just updated the directory containing the code used by jsfiddle. You can make another try if you want.

The demo page is also embedding a lot of slider, but still does not show this bug.

Which version are you using?

ghusse avatar Apr 15 '14 09:04 ghusse

I am including the jQAllRangeSliders-withRuler-min in Version 5.7.0 - 2014-03-18, from the standard download package.

Have you updated the URL to the jsfiddle?

think-tanker-alex avatar Apr 15 '14 09:04 think-tanker-alex

The URL are still the same, but updated the files at these URL.

ghusse avatar Apr 15 '14 09:04 ghusse

I could not reproduce the problem in JSFiddle yet, need more time for that.

But what I can say is that I know about a workaround now: When calling the "resize" method on the sliders at the start, the valueLabels are not shown anymore from the beginning.

think-tanker-alex avatar Apr 16 '14 10:04 think-tanker-alex