Image: Expand on click animates incorrectly when border is defined #63567
Labels
[Block] Image
Affects the Image Block
Needs Design Feedback
Needs general design feedback.
[Type] Bug
An existing feature does not function as intended
Description
Expected: When adding a border to an image, I expect
Expand on Click
to animate smoothly.Actual: The animation appears broken.
First mentioned in this comment related to adding margin support to the image.
Step-by-step reproduction instructions
It looks like custom aspect ratios also affect the animation in different ways (see video below).
Screenshots, screen recording, code snippet
lightbox-border-bug.mp4
lightbox-aspect-ratio-border.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: