Ticket #3703 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

'startValue' option or 'start' option of handler of ui slider has no any effect under Safari

Reported by: vladm Owned by:
Priority: major Milestone: 1.7
Component: ui.slider Version: 1.5.2
Keywords: startValue slider start Cc:
Blocking: Blocked by:

Description

I just put this in my html and run this code in Safari, but the handler was stayed on beginning of the slidebar:

    $("#width_slider").slider({
        min: 160,
        max: 640,
        startValue: 400
    });
<div id='width_slider' class='ui-slider' style="margin:10px;"><div class="ui-slider-handle"></div></div>

You can also see this 'effect' on the your  demo. When page is loading, the second handler stayed on 0 instead of 100...

Change History

comment:1 Changed 6 years ago by vladm

This bug occurs in 1.6rc2 version too.

comment:2 Changed 6 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.6

Slider has been refactored for 1.6rc3. The following code will do what you want now:

$('#width_slider').slider({
    min: 160,
    max: 640,
    value: 400
});
Note: See TracTickets for help on using tickets.