Ticket #6255 (closed bug: notabug)

Opened 3 years ago

Last modified 7 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 7 months ago by scott.gonzalez

  • Milestone changed from TBD to 1.11.0

comment:2 Changed 7 months ago by davenaeder

  • Status changed from new to closed
  • Resolution set to wontfix

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 months ago by scott.gonzalez

  • Status changed from closed to reopened
  • Resolution wontfix deleted

comment:4 Changed 7 months ago by davenaeder

  • Status changed from reopened to closed
  • Resolution set to invalid
  • Milestone changed from 1.11.0 to 1.8.5

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.