WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 3 months ago

#52918 new defect (bug)

WordPress 5.7 block parent focus bug for reusable block

Reported by: paulbouisset Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7
Component: Editor Keywords:
Focuses: Cc:

Description

Hi, I just made the change to WordPress 5.7 from Wordpress 5.6.2 and I experience a rather strange behavior for reusable blocks.

On 5.6.2 when I click on a reusable block I am prompted with an info box showing me the name of the block and an option to edit what's inside the block. That's perfect and make completely sense.

In 5.7 this behavior changed, if I click on a reusable block by default it selects the child inside and I don't see the info box anymore. To select the parent I need to hover the block icon to see the parent icon. That's not really easy to understand and I made multiple mistake by adding additional blocks in a reusable block just because I was not aware that the focus was on the children and not the parent.

I check the release note and was surprise to see that this was supposed to have changed: https://make.wordpress.org/core/2021/02/23/inner-blocks-api-changes/

Is it a wrong setting I put, something I miss or a bug?

Attachments (2)

Capture d’écran 2021-03-26 à 09.54.18.png (231.4 KB) - added by paulbouisset 4 months ago.
Wordpress 5.6.2
Enregistrement de l’écran 2021-03-26 à 09.44.57.mov (5.4 MB) - added by paulbouisset 4 months ago.
Wordpress 5.7

Change History (3)

#1 @paaljoachim
3 months ago

Hey @paulbouisset

I have made this Github issue as a suggestion for a revision of the Reusable block:
https://github.com/WordPress/gutenberg/issues/31163

Note: See TracTickets for help on using tickets.