Skip to main content

Bug Tracker

Side navigation

#2428 closed bug (fixed)

Opened February 27, 2008 10:24PM UTC

Closed May 08, 2008 10:09PM UTC

ui.slider will not work if slider is hidden during slider() init call.

Reported by: khelenek Owned by: paul
Priority: minor Milestone:
Component: ui Version:
Keywords: Cc:
Blocked by: Blocking:
Description

There is no version for UI, but this is for 1.5b.

If you put the slider in a hidden div (like in an accordion, tabview, etc..), and then initialize the slider, it will not work. It looks like it needs to be on visible during the call to $(obj).slider() or else the mouse cannot drag the slider. I'm using it in a filtering tree, and currently trying a complex workaround where it initializes when it first becomes visible, but since i cannot guarantee i would consider this a major bug. It would be nice to know if this even can be fixed, and of course if it will.

Attachments (0)
Change History (8)

Changed February 28, 2008 10:34AM UTC by paul comment:1

owner: paulbraeker

Changed March 18, 2008 09:53AM UTC by joern comment:2

[5074] improves the situation. By recomputing the size if it isn't available on initialization, the slider is useable, but the handle isn't correctly positioned at the specified startValue. No solution for that yet.

Changed March 24, 2008 01:03AM UTC by braeker comment:3

resolution: → invalid
status: newclosed

Changed March 25, 2008 03:05PM UTC by braeker comment:4

resolution: invalid
status: closedreopened

Changed March 25, 2008 03:05PM UTC by braeker comment:5

owner: braekerjoern
status: reopenednew

Changed April 30, 2008 10:17PM UTC by joern comment:6

owner: joernpaul

Broken in [5141], size() got removed.

Changed May 04, 2008 09:10AM UTC by paul comment:7

priority: majorminor

Changed May 08, 2008 10:09PM UTC by joern comment:8

resolution: → fixed
status: newclosed

Fixed, again.