### Description In the image lightbox, large captions will get cut off on desktop and will cause the lightbox to rendered incorrectly on mobile. ### Step-by-step reproduction instructions 1. Ensure the Interactivity API and Behaviors UI setting is enabled in Gutenberg > Experiments in the admin. 2. Create a new post and add an image with a long caption of a few paragraphs. 3. Activate the image's lightbox via Advanced > Behaviors > Lightbox. 4. Publish and view the post. 5. Click on the image; see that the caption is cut off on desktop and that the image and/or caption are cut off on mobile. ### Screenshots, screen recording, code snippet ## Desktop View <img width="1637" alt="Screen Shot 2023-06-01 at 3 34 35 PM" src="https://github.com/WordPress/gutenberg/assets/5360536/6c1b04ec-fdbc-4fe1-ae87-b4bc08dbfd98"> ## Mobile View <img width="511" alt="Screen Shot 2023-06-01 at 3 35 02 PM" src="https://github.com/WordPress/gutenberg/assets/5360536/aa00d7fd-6bd6-43f0-837c-6184df48e8a6"> ### 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
Activity
artemiomorales commentedon Jun 6, 2023
As per the design changes in #51206 and this comment on a related PR, the caption has been removed, so this issue is no longer relevant.