Side navigation
#1283 closed bug (wontfix)
Opened June 08, 2007 12:21PM UTC
Closed March 31, 2008 02:15AM UTC
Unwanted MouseUp for iSlider
Reported by: | banzzai | Owned by: | stefan |
---|---|---|---|
Priority: | minor | Milestone: | 1.1.3 |
Component: | interface | Version: | 1.1.2 |
Keywords: | iSlider | Cc: | |
Blocked by: | Blocking: |
Description
I'm experimenting some strange behaviour from a slider;
When I MouseDown it, then move slowly and MouseUp, it launches the right effet with the rigth value (let's say 70, my values are %).
But if I MouseDown and move quick, it will launch the effet with 70%, then a hudge value, say 500%, and if I then MouseUp it launches the effect with the default value (50%, set back after every launch).
I'm sorry, the original code using your slider isn't mine so I try to be as precise as I can and I continue to investigate but I wonder if it'd be possible that the slider lost track of the mouse if I move it quickly because on other examples it doesn't seem to be possible at all... (that last part was to say I guess the problem comes from local code, but there's still little hope you can tell me what's wrong lol)
Attachments (0)
Change History (3)
Changed June 11, 2007 04:00PM UTC by comment:1
Changed June 12, 2007 09:31AM UTC by comment:2
Ok, I think I got how the slider works exactly and maybe there's no problem with your code but then how come I can't code the simple behavior I want to;
I just would like to launch my effect when moving on a 5%-step slider :
When I move and release the mouse button, the onChange function does fine.
But when I just click on a distant part of the slider, only the onSlide function can do it but it will also launch every pixel I move the slider, so I don't see how one can handle an effect on click somewhere on the slider.
Now I'm pretty sure, that's not a problem with the slider class but I still need to be sure and by the way I didn't find any forum to post this ;p
I've been a little more into the code and now I can say, that the onSlide effect is the one which launches when I move the mouse fast, without releasing the button though.