Skip to content

Columns and InnerBlocks items defaulting to first column in Chrome #13349

@HardeepAsrani

Description

@HardeepAsrani

Describe the bug
When using Columns or any block with InnerBlocks, the items that you add to second columns get shifted to first columns by default if you use the inserter without modifying the content inside the columns.

To Reproduce
Steps to reproduce the behavior:

  1. Add column block
  2. Add image placeholder to both columns without using keyboard shortcode, but only the Inserter

Screenshots

Here's a video: https://www.useloom.com/share/3296a747738645698c21253ffce1af10

Desktop (please complete the following information):

  • OS: Tried on Mac and Windows
  • Browser Chrome
  • Version Many different and latest versions

Additional context

  • This bug was reported to me by few people testing custom Gutenberg blocks that I made. But it was a weird issue so I tried to setup a new WordPress without any plugins and tried to see if the is because of Gutenberg, and turns out it's an issue with the code.

I believe the focus of InnerBlock stays in the first column item if you just click on the inserter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] ColumnsAffects the Columns Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions