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

Lightbox: fix empty black box at left upper corner of page #12366

Closed
cathyxz opened this issue Dec 8, 2017 · 0 comments
Closed

Lightbox: fix empty black box at left upper corner of page #12366

cathyxz opened this issue Dec 8, 2017 · 0 comments
Assignees

Comments

@cathyxz
Copy link
Contributor

cathyxz commented Dec 8, 2017

This is probably due to the ImageViewer's initialization timing, but on first load or swipe of each lightbox item that has an image, the lightbox currently shows a weird looking black empty box with white outline in the upper left corner. Fix the ImageViewer measure call or initialization process so that this doesn't happen.

Update:
This is a funny bug. It doesn't apply to Desktop Chrome, but it applies to Desktop Safari, and mobile Safari, Chrome, Firefox. Basically they apply a gray border to images that have the alt attribute but not the src attribute.

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

No branches or pull requests

1 participant