Open TNHSAesop opened 2 months ago
Can you expand a bit more on your use case? I couldn't reproduce this in trunk. The close
svg is positioned inside the figure
with absolute position. By seeing your screenshot it seems something might be different with other styles applied (like no position relative for the figure
etc..).
Maybe a short video would be more helpful.
Description
The expand on click lightbox feature is causing an SVG icon to appear on the page next to the image after closing the lightbox. I would expect no unexpected elements to start showing after closing.
HTML of the element that appears:
Step-by-step reproduction instructions
For this issue I am using a classic theme (Beaver Builder Theme) and have upload a theme.json file to my child theme to enable lightbox on all image blocks.
theme.json code
the lightbox appears for all the image blocks as intended but when i click on an image, the lightbox is displayed, but once the lightbox is closed the stray html element appears on the page.
Screenshots, screen recording, code snippet
No response
Environment info
Environment details below
Using Beaver Builder Theme
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.