Side navigation
#3580 closed bug (invalid)
Opened November 06, 2008 09:10PM UTC
Closed November 06, 2008 09:39PM UTC
Slider with animation change event returns wrong value if you move mouse
Reported by: | AndyKandeo | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | event | Version: | 1.2.6 |
Keywords: | animation, change event, wrong value | Cc: | |
Blocked by: | Blocking: |
Description
I have found this problem in the latest release of the Slider and it occurs on IE6, 7 & Firefox 3.0, so I don't think it is browser related. However it does seem to be a problem on a slow low spec PC more so than a fast machine.
Create a slider with animation, click once on the rail to make the slider move, then quickly move the mouse over another value on the rail, the ui.value raised will have the value of the mouse position rather than where the handle is. Clicking from one extreme to the other causes the problem more than if you only move one point either way.
Sample code I am using:
.slider({animate: true, startValue: 6, min: 2, max: 10, stepping: 2, handle: ".ui-slider-handle", change: function(e, ui){ sliderOnChange(e, ui);} }); });
This happens if you use Stop event as well. I can reproduce this fairly easily. I would appreciate some assistance with a resolution as I am reliant on the slider for my application.
Many thanks
Andy
Attachments (0)
Change History (1)
Changed November 06, 2008 09:39PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
This belongs to the UI Bug Tracker.