-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Image block: Delayed response when opening image in lightbox for the first time #51555
Comments
Why is the delay happening? Is it because it waits until the image has been downloaded? |
@luisherranz Yes, it's because it waits for the image to be downloaded. |
Note: While we are considering overall lightbox animation improvements, we could include this suggestion as part of the same PR.
|
Is it possible to use the original image first, then switch to the full version once it's downloaded? |
@luisherranz Will give that a shot! I'll also look into preloading the image on hover, which could at least help on desktop. |
This has been fixed in #51721 |
Description
When opening an image in the lightbox, there is a delay before the UI responds.
Step-by-step reproduction instructions
Must be tested on a live (not local) environment.
Screenshots, screen recording, code snippet
lightbox-delay.mp4
Environment info
-Gutenberg 16.0.0, WP 6.2.2
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: