Skip to content

Conversation

@dcalhoun
Copy link
Member

@dcalhoun dcalhoun commented Nov 4, 2025

What?

Allow resizing images on mobile. This reverts explicit disabling of the feature in Gutenberg based on reports in
WordPress/gutenberg#2675.

The resizing feature appears to work well enough today. We should contribute this change upstream.

Why?

Close CMM-196. Avoid unnecessarily limiting the UX for mobile devices.

How?

Add a package patch removing the isLargeViewport requirement for resizing images.

Testing Instructions

  1. Add an Image block.
  2. Attach media.
  3. Resize the image with drag handles; change the dimension fields within the block inspector.
  4. Verify the rendered block is accurate, that the block attributes are saved as expected.

Accessibility Testing Instructions

N/A, no navigation changes.

Screenshots or screencast

Before After
before-image after-image
before-controls after-controls

Allow resizing images on mobile. This reverts explicit disabling of the
feature in Gutenberg based on reports in
WordPress/gutenberg#2675.

The resizing feature appears to work well enough today. We should
contribute this change upstream.
@dcalhoun dcalhoun added the [Type] Enhancement A suggestion for improvement. label Nov 4, 2025
@dcalhoun dcalhoun marked this pull request as ready for review November 4, 2025 19:14
@dcalhoun dcalhoun requested a review from kean November 4, 2025 19:14
Copy link
Contributor

@kean kean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, and no performance/usability issues.

@dcalhoun dcalhoun merged commit 77113ec into trunk Nov 4, 2025
11 checks passed
@dcalhoun dcalhoun deleted the feat/resize-images-on-mobile branch November 4, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants