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
Open the site editor. It's easier to reproduce in FSE but it also sometimes happens in the post/page editor as well;
Try to add a pattern;
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.
Do you still run into this problem with WP 6.3? It would be cool if you could connect your phone to desktop Safari and check the console to see what errors are occurring. I can't reproduce it here.
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
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
https://user-images.githubusercontent.com/26530524/195402218-23ae1b21-4550-4619-86ba-25b7e2ba05b5.mp4
Environment info
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