Skip to content

Block Editor: Scrolling through Patterns crashes page on iOS Safari #44903

@zaguiini

Description

@zaguiini

Description

Scrolling through the patterns on iOS 16's Safari intermittently crashes Gutenberg. Sometimes the page refreshes on its own, and sometimes the page just breaks with a black screen as a result.

Step-by-step reproduction instructions

  1. Open the site editor. It's easier to reproduce in FSE but it also sometimes happens in the post/page editor as well;
  2. Try to add a pattern;
  3. Scroll through the patterns list, while changing the category once in a while.

After a few tries, it fails. Sometimes the page refreshes, and sometimes the page crashes. I tried reproducing this on MacOS Safari without success. I've tried to attach the iPhone debugger to MacOS Safari, but didn't see any error message when the page crashed.

Screenshots, screen recording, code snippet

WhatsApp.Video.2022-10-12.at.1.33.08.PM.mp4

Environment info

  • WordPress 6.0.2 (it also happens in 6.1.0 but less frequently);
  • iOS 16;
  • Gutenberg 14.3.0.

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

    [Status] Needs More InfoFollow-up required in order to be actionable.[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