Flux-Slider icon indicating copy to clipboard operation
Flux-Slider copied to clipboard

Fast consecutive transitions not handled ideally

Open timdp opened this issue 14 years ago • 0 comments

I'm not sure what an image gallery should do when I flick through images fast, but Flux Slider's implementation feels less than ideal.

Clicking any button on http://www.joelambert.co.uk/flux/transgallery.html several times results in any previous transitions being skipped, so that the one triggered by the very last click can start straightaway. To get a more smooth experience, personally, I'd rather create a chain or queue of transitions, so that transitions have to wait for previous ones to complete.

Of course, many clicks would introduce a potentially annoying delay. Perhaps transitions could be sped up or skipped when the queue size reaches a certain threshold? Just an idea.

Also, the current implementation isn't necessarily bad, so there should probably be a toggle parameter in the API.

Regardless, keep up the good work!

timdp avatar Sep 28 '11 12:09 timdp