Skip to content

Parent block delayed re-render after inner block move in Safari #30299

@tlovett1

Description

@tlovett1

Description

I've encountered an issue in Safari when inner blocks are moved. Although the inner blocks move correctly, the parent block sometimes receives the updated inner blocks with their new ordering after a few second delay. This does not happen in Chrome.

This could be related to #30249

Step-by-step reproduction instructions

I've created a proof of concept block to reproduce the problem:

Code: https://gist.github.com/tlovett1/2c49074bc4ed6931e914bb2bd1bf92d1

Screenshots or screen recording (optional)

Video showing the problem:

parent.rerender.delay2.mov

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: 10.2.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes

Device information

  • Operating system: macOS 10.15.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Browser IssuesIssues or PRs that are related to browser specific problemsNeeds DevReady for, and needs developer efforts[Type] PerformanceRelated to performance efforts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions