Skip to content

Block toolbar weird shift with beta 6.7 #65872

@simom

Description

@simom

Description

While testing the new WordPress 6.7 beta with our plugin, I noticed a strange shift in the block toolbar that did not occur in version 6.6.x.

All the elements inside the block that are generated in the “edit area positions” are absolutely positioned, so there is no width/height change to the block.

I saw in the Gutenberg repo that the block-popover has been updated with some new calculation methods, so perhaps there is a new restriction for elements inside a block when the toolbar is visible. (possibly related to dec82e2)

I understand this isn’t a bug related to a core block.

Step-by-step reproduction instructions

  1. Install the free Advanced Columns plugin from the WordPress.org repository
  2. Add the block to the page
  3. Switch the column mode to “Grid.”
  4. With the block selected, click on “Edit Area Positions” in the block toolbar

Screenshots, screen recording, code snippet

toolbar.issue.mp4

Environment info

  • WordPress: 6.7-beta1
  • PHP: 8.2.24
  • Server: nginx/1.25.4
  • Database: mysqli (Server: 5.7.23 / Client: mysqlnd 8.2.24)
  • Browser: Chrome 129.0.0.0 (macOS)
  • Theme: Twenty Twenty-Four 1.2
  • MU-Plugins: None activated
  • Plugins:
    • Advanced Columns Block 1.3.0
    • WordPress Beta Tester 3.5.6

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

No one assigned

    Labels

    [Package] Block editor/packages/block-editor[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