Skip to content

Image block can be resized beyond the bounds of the column that it's in #63326

@noisysocks

Description

@noisysocks

Description

When you have an Image block within a Columns block, you can currently use the resize handles on the image to resize it beyond the bounds of the column, which results in a pretty broken looking layout. The resize bounds should be limited to the column.

Step-by-step reproduction instructions

  1. Insert a new post
  2. Add a Columns block with two columns
  3. Add an image to each column
  4. Select one of the images and resize it vertically downwards
  5. The image overflows the column, but shouldn't

Screenshots, screen recording, code snippet

Kapture.2024-07-10.at.09.27.43.mp4

Environment info

Latest Gutenberg + Core trunk. Firefox. macOS.

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

Metadata

Metadata

Assignees

Labels

[Block] ImageAffects the Image Block[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions