Skip to content

Safari mobile crashes when exploring patterns in page, post, and site editors #65178

@miksansegundo

Description

@miksansegundo

Description

Safari mobile crashes without error and reloads the page when exploring pattern categories.

The cause for this is commonly a memory leak or a process blocking the UI.

Maybe related to #64732

cc: @annezazu @ellatrix

Step-by-step reproduction instructions

In the site editor:

  • Click Patterns
  • Change the items per page to 100
  • Try to close the settings and scroll
  • Verify the browser crashes and reloads automatically

In the post and page editors:

  • Open the pattern inserter
  • Click on a category
  • Click Back
  • Click on another category
  • Continue until the browser crashes and reloads automatically

Screenshots, screen recording, code snippet

Side editor crash

Increase the items per page to 100 and scroll to explore patterns.

Screen.Recording.2567-09-10.at.12.07.27.mov

Post and page editor crash

Open and close pattern categories from the pattern inserter.

Screen.Recording.2567-09-10.at.12.04.08.mov
Screen.Recording.2567-09-10.at.12.53.21.mov

Environment info

Tested on iPhone 15 (iOS 17.5)

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

    Browser IssuesIssues or PRs that are related to browser specific problemsNeeds TestingNeeds further testing to be confirmed.[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions