Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Image Block: Visual jerk/flash when changing style to "Rounded" #77830

@vishnupprajapat

Description

@vishnupprajapat

Description

Description:
When changing the style of an Image block from "Default" to "Rounded", there is a noticeable visual glitch/jerk in the editor. The image briefly renders as a full circle (fully rounded) before abruptly snapping to slightly rounded corners.

Step-by-step reproduction instructions

Step-by-step reproduction instructions:
Open the block editor and add an Image block.
Select an image.
In the block settings sidebar, switch the Style from "Default" to "Rounded".
Observe the image border-radius.
Expected behavior:
The image should change to the rounded style instantly (or smoothly) without any intermediate flashing or jerky state.
Actual behavior:
The image shows a visual jerk. It first becomes fully rounded (as a circle/pill) for a split second, and then immediately transitions/snaps to having only slightly rounded corners.

Screenshots, screen recording, code snippet

original image
Image
glitch/jerk Image
Image
After select image
Image

Environment info

Environment Info:
WordPress version:7.0
Gutenberg Plugin version: trunk
Browser: Chrome

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Labels

Needs TestingNeeds further testing to be confirmed.[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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions