WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.54k stars 4.21k forks source link

Updating Alt Text on Image within Gallery Block is slow with large galleries #44527

Open darthdurden opened 2 years ago

darthdurden commented 2 years ago

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

  1. Create a new gallery block
  2. Add 100 reasonably large images to the gallery (1440px wide in my case)
  3. Click on an image and edit the Alt Text in the right hand image block editor
  4. Observe that typing can be quite slow and delayed at times.

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

darthdurden commented 1 year ago

Has there been any movement on this at all? This is a pretty big blocker for my workflow.