Skip to content

Changing the unit or value of dimension controls sometimes doesn't work in the site editor #37856

@erikjoling

Description

@erikjoling

Description

When I set the value or unit of the padding or margin of a block and try to change it, it reverts to the initial value/unit.

Step-by-step reproduction instructions

  1. In the site editor go to a group block for example.
  2. Try to set the bottom padding to 5 rem.
  3. Save
  4. Now try to set the bottom padding to 1 px. Or to 0.
  5. It reverts to 5 rem.

Screenshots, screen recording, code snippet

image

Environment info

  • WordPress 5.9 RC-1
  • Firefox
  • Ubuntu

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

Browser IssuesIssues or PRs that are related to browser specific problems[Block] GroupAffects the Group Block (and row, stack and grid variants)[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Type] FeedbackIssues that relate purely to feedback on a feature that isn't necessarily actionable

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