Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showImage flashes first image before showing desired image #96

Closed
danfwdmotion opened this issue Jul 8, 2020 · 3 comments
Closed

showImage flashes first image before showing desired image #96

danfwdmotion opened this issue Jul 8, 2020 · 3 comments

Comments

@danfwdmotion
Copy link

When using the showImage method when the lightbox is closed, the lightbox appears with the first image and THEN shows the correct image, whereas I would expect the lightbox to remain hidden until the correct image is ready to be displayed.

This occurs in all browsers, latest version of the package (7.1.0)

@janosrusiczki
Copy link

janosrusiczki commented Jul 8, 2020

This is fixed in my fork, take a look: https://github.com/haiafara/vue-it-bigger

The problem was related to transitions, and the fix is here, if someone wishes to backport it: haiafara/vue-it-bigger@8f78a82

@pexea12
Copy link
Owner

pexea12 commented Jul 8, 2020

Thanks @janosrusiczki, I fixed it in https://github.com/pexea12/vue-image-lightbox/releases/tag/7.1.3

@pexea12 pexea12 closed this as completed Jul 8, 2020
@danfwdmotion
Copy link
Author

Thanks for the speedy resolve guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants