jQuery: The Write Less, Do More JavaScript Library

Ticket #2428 (closed bug: fixed)

Opened 2 months ago

Last modified 3 days ago

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

Reported by: khelenek Assigned to: paul
Type: bug Priority: minor
Milestone: Component: ui
Version: Keywords:
Cc: Needs: Review

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

Change History

Changed 2 months ago by paul

  • owner changed from paul to braeker

Changed 2 months ago by joern

[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 2 months ago by braeker

  • status changed from new to closed
  • resolution set to invalid

Changed 2 months ago by braeker

  • status changed from closed to reopened
  • resolution deleted

Changed 2 months ago by braeker

  • owner changed from braeker to joern
  • status changed from reopened to new

Changed 2 weeks ago by joern

  • owner changed from joern to paul

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

Changed 1 week ago by paul

  • priority changed from major to minor

Changed 3 days ago by joern

  • status changed from new to closed
  • resolution set to fixed

Fixed, again.

Note: See TracTickets for help on using tickets.