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

Image: Lightbox does not display largest available size of image #51171

Closed
artemiomorales opened this issue Jun 1, 2023 · 1 comment
Closed
Assignees
Labels
[Block] Image Affects the Image Block [Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Bug An existing feature does not function as intended

Comments

@artemiomorales
Copy link
Contributor

Description

The lightbox does not scale images up or show the largest available size when it is opened.

Step-by-step reproduction instructions

  1. Enable the Interactivity API and Behaviors UI experiment in Gutenberg > Experiments.
  2. Add an image to a post
  3. Enable Advanced > Behaviors > Lightbox in the image block settings
  4. Set the image to thumbnail
  5. Publish the post and click on the image.
  6. See that a thumbnail-sized image is shown rather than a full screen version of it.

Screenshots, screen recording, code snippet

lightbox-image-size.mp4

Environment info

WP 6.2, Gutenberg 15.9
Chrome
Mac OSX

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

@artemiomorales artemiomorales added [Type] Bug An existing feature does not function as intended [Block] Image Affects the Image Block [Feature] Interactivity API API to add frontend interactivity to blocks. labels Jun 1, 2023
@artemiomorales artemiomorales self-assigned this Jun 1, 2023
@artemiomorales
Copy link
Contributor Author

This issue has been handled by the design fixes in #51206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant