terrymun/Fluidbox

Fast click cause big image not to be visible

Closed this issue · 3 comments

If you click 3 times fast on an image (show big, close, show big), the animation seems not to finish correctly. So after the last click, the big image is not visible; opacity of the big image (the fluidbox generated div) is still on 0.

That is a known issue.

This flickering cannot be reproduced on my Chrome v34 browser, but I am aware that it can be reproduced in other browsers (and their other versions, perhaps). There are no plans to fix this right now.

I can even reproduce it in your Demo on latest Chrome.

And: it's not a flickering. It's the re-opening animation/properties which seem not to be applied because closing animation was still in progress. The opacity of the big image is still on 0 in this case.

I've made a video. It was harder to reproduce on your demo, maybe because the images are in cache right now or my images on my page are bigger. But the bug is present and there might be an easy fix for that.

http://recordit.co/p7lXfRTaPy
(not the best quality, but you see the problem the first time at 00:14