Search and Top Navigation
#7444 closed enhancement (wontfix)
Opened June 02, 2011 02:08PM UTC
Closed June 08, 2011 01:42AM UTC
Ability to get handle position in slide() event
| Reported by: | cowwoc | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.9.0 |
| Component: | ui.slider | Version: | 1.8.13 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
JQuery UI 1.8.13 updates the handle position after returning from the slide() callback function. This makes it impossible to implement tooltips that float directly above a horizontal slider because the tooltip will always display at the previous handle position.
Expected behavior: fire a new event after a slide has been accepted or pass the expected slider position into the slide() function.
Attachments (0)
Change History (1)
Changed June 08, 2011 01:42AM UTC by comment:1
| resolution: | → wontfix |
|---|---|
| status: | new → closed |
Just use setTimeout( fn, 1 ). You know it will be correct immediately after the event.