close
Skip to content

Pattern with floating content hard to select #64131

@krokodok

Description

@krokodok

Description

When you use a Pattern with floating content (i.e. "Align left" or "Align right") the Pattern loses its height. At the same time, you cannot click inside the pattern content. This makes it difficult to interact with the element. Currently, it is only possible by using the list view.

Step-by-step reproduction instructions

  1. Insert floating Block, for example "Pullquote", and assign "Align left" or "Align right".
  2. Create a pattern by clicking "Create pattern".
  3. You will see that the pattern has no height and cannot be selected by clicking inside the pattern's content.

Screenshots, screen recording, code snippet

Bildschirmaufnahme.2024-07-31.um.10.34.06.mov

Environment info

  • Current WordPress Playground (6.6.1, Php 8.0, tested Firefox & 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

Metadata

Metadata

Assignees

Labels

[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