When creating an image gallery with a large number of images, using the Alt Text field on the image block editor becomes almost unuable. I suspect that every keystroke is causing the entire gallery block to re-render thus delaying the display of the typed strokes.
Step-by-step reproduction instructions
Create a new gallery block
Add 100 reasonably large images to the gallery (1440px wide in my case)
Click on an image and edit the Alt Text in the right hand image block editor
Observe that typing can be quite slow and delayed at times.
Screenshots, screen recording, code snippet
No response
Environment info
Using Wordpress 6.0.2
Seeing this behavior in all browsers on both Windows 10 and Mac OS
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Description
When creating an image gallery with a large number of images, using the Alt Text field on the image block editor becomes almost unuable. I suspect that every keystroke is causing the entire gallery block to re-render thus delaying the display of the typed strokes.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
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