Skip to content

Fix auto-applying of top-left positioning in the Cover block BlockAlignmentMatrixControl #66831

@richtabor

Description

@richtabor

Description

The BlockAlignmentMatrixControl in the Cover block toolbar auto-applies the top-left value to the block each time the control is engaged with. This behavior is unintended, as the control should only apply a new position if the user actively selects one of the matrix points. The current experience leads to unexpected positioning changes, which disrupts user workflows and content layout.

Steps to Reproduce:

  1. Add a Cover block to the editor.
  2. Add media.
  3. Open the "Change content position" control.
  4. Observe that the top-left position is auto-applied to the content even without selecting any matrix point.

Expected:

The position should remain unchanged unless the user actively selects a new matrix point.

Visual

CleanShot.2024-11-07.at.10.21.35.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] CoverAffects the Cover Block - used to display content laid over a background image

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions