You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gallery: images stuck in upload in progress state #39923
[Block] GalleryAffects the Gallery Block - used to display groups of images[Feature] MediaAnything that impacts the experience of managing media[Type] BugAn existing feature does not function as intended
This and the related issues have been a longstanding problem to do with using setAttributes( { image: null } ) as how we indicate that the image is uploading. We ought to use useState() and then only call setAttributes once when the image is uploaded.
I tried to replicate this with WordPress 7.1.2 and Gutenberg 24.0 but I wasn't able to. Specifically, the save button greys out while the images are loading.
[Block] GalleryAffects the Gallery Block - used to display groups of images[Feature] MediaAnything that impacts the experience of managing media[Type] BugAn existing feature does not function as intended
Activity
Mamaduka commentedon Mar 31, 2022
Related #16030.
noisysocks commentedon Aug 30, 2022
This and the related issues have been a longstanding problem to do with using
setAttributes( { image: null } )as how we indicate that the image is uploading. We ought to useuseState()and then only callsetAttributesonce when the image is uploaded.Mamaduka commentedon Aug 30, 2022
The image block uses state while image is blob.
gutenberg/packages/block-library/src/image/edit.js
Lines 170 to 173 in b47a77d
annezazu commentedon Sep 25, 2026
I tried to replicate this with WordPress 7.1.2 and Gutenberg 24.0 but I wasn't able to. Specifically, the save button greys out while the images are loading.
unable.to.replicate.39923.mov
I think this is due to #74951 and #76973
Closing out as a result! Thanks for originally reporting.