Skip to content

Inserter: Poor Performance when Switching Blocks with Block Inserter Open #67805

Open
@jeryj

Description

@jeryj

Description

When the block inserter is open, there's a ~200ms lag when clicking to a new block. Sometimes as high as 500ms. It makes the editor feel very slow. Closing the inserter and clicking between blocks is fine.

Step-by-step reproduction instructions

  1. Click between blocks with the inserter closed
  2. Open the inserter
  3. Click between blocks
  4. Notice a delay until the new block is responsive
  5. If there isn't a delay, then try throttling your CPU and repeat

Screenshots, screen recording, code snippet

No response

Environment info

Screen.Recording.2024-12-10.at.3.41.05.PM.mov

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] InserterThe main way to insert blocks using the + button in the editing interface[Type] PerformanceRelated to performance efforts

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions