Skip to content

Child block side UI doesn't reposition in align-wide/full #7646

@chrisvanpatten

Description

@chrisvanpatten

When a block is aligned wide or full, side UI controls are repositioned above the block to ensure the controls are accessible.

untitled____add_new_page mindful _wordpress

However, this does not apply to child blocks where the parent is aligned wide or full, causing the child's side UI controls to become unavailable:

untitled____add_new_page mindful _wordpress_and_typinator

(This would be solved by #6224.)

To Reproduce
Steps to reproduce the behavior:

  1. Create a block that can be aligned wide or full, with an InnerBlocks component
  2. Set the block alignment to full
  3. Insert a child block
  4. Note that you can't access the side UI controls

Expected behavior
Side UI controls should be accessible regardless of the block's alignment settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    General InterfaceParts of the UI which don't fall neatly under other labels.[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions