Skip to content

List View: "Rename" item is not displayed when no block is selected #55612

@t-hamano

Description

@t-hamano

Description

In the List View, you can rename the block from the ellipsis menu. However, for some reason only the "Rename" item doesn't seem to display unless a block is selected.

This issue does not occur in WordPress 6.4 RC2, where only group blocks can be renamed. You should be able to reproduce it when you enable the latest Gutenberg trunk.

Step-by-step reproduction instructions

  • Insert some blocks.
  • Open the List View.
  • With no blocks selected, click the ellipsis button for one of the blocks.
  • There should be no "Rename" item.
  • Select that block.
  • There should be a "Rename" item.

Screenshots, screen recording, code snippet

b8dcc30e89eef5fbd2d6d53381f27cad.mp4

Environment info

  • WordPress Version: 6.4 RC2
  • Latest Gutenberg

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

    [Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.[Type] BugAn existing feature does not function as intended[Type] RegressionRelated to a regression in the latest release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions