Opened 9 years ago

Closed 7 years ago

#6255 closed bug (notabug)

Slider: programmatically setting a value when animate is on and slider is hidden causes error in Internet explorer

Reported by: urkle Owned by:
Priority: major Milestone: 1.8.5
Component: ui.slider Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:

Description

I have jQuery UI slider that is sometimes hidden out of view.. the slider has the "animate" option set to true, and when the control has it's "values" property set it when it's not visible Internet explorer throws an "Invalid Argument" error in jquery-1.4.3 line 6489;

Here is a jsFiddle showing the issue. IE 7 and IE 8 both exhibit the behavior under both jquery ui 1.8.5 and 1.8.6.

http://jsfiddle.net/urkle/vdBPR/

Change History (4)

comment:1 Changed 7 years ago by Scott González

Milestone: TBD1.11.0

comment:2 Changed 7 years ago by davenaeder

Resolution: wontfix
Status: newclosed

While the above jsFiddle link does show a valid bug, using modern versions of jQuery and jQuery UI and the same example code provided does not produce the error. Marking as 'wont fix'

comment:3 Changed 7 years ago by Scott González

Resolution: wontfix
Status: closedreopened

comment:4 Changed 7 years ago by davenaeder

Milestone: 1.11.01.8.5
Resolution: invalid
Status: reopenedclosed

Using the above jsFiddle and updating the jQuery Lib to 1.8.2+ fixes the issue.

ref: http://jsfiddle.net/davenaeder/5k3EQ/1/

Note: See TracTickets for help on using tickets.