Bug Tracker

Modify

Ticket #1283 (closed bug: wontfix)

Opened 6 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

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)

Change History

comment:1 Changed 6 years ago by banzzai

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.

comment:2 Changed 6 years ago by banzzai

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

comment:3 Changed 5 years ago by scott.gonzal

  • Status changed from new to closed
  • Resolution set to wontfix

Interface is no longer supported; consider switching to  jQuery UI.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.