nicolas-t/Chocolat

Previous image re-appears

fencer opened this issue · 6 comments

If i close the image viewer, and then click on a different image, the previous will show until the one I clicked has opened giving the user the impression that the wrong image has been loaded.

Thanks,
Can you provide a demo where the bug is reproductible ?

+1 on this, at first I thought something was wrong with my code.

looks like the image should be removed and the spinner added back in once a new image is called.

Hello @eruecco87 can you to reproduce the bug with the next version ?
https://github.com/nicolas-t/Chocolat/releases/tag/v1.0.0-beta.0

I can help you setting it up if you're stuck.

I tried v1.0.0-beta.0 and it seems that this issue has been resolved. (However that version seem very slow for me, at least when I deal with 4000x6000 pics)

Actually the issue persist even in the new version, if the image does not download fast enough, I have seen with firefox on my website https://tintinburgh.com/Praha%202018