Skip to content

Dropzone re-renders for previously triggered media upload dropzone #65788

@ajlende

Description

@ajlende

Description

The previously used dropzones for media upload in image blocks are being shown when dropping other images.

Step-by-step reproduction instructions

  1. Open Site Editor
  2. Insert at least two images and a cover block (easy to see in a grid of images)
  3. Open the media inserter sidebar
  4. Drag and drop to replace one image
  5. Drag to replace a second image
  6. See that the first image shows the dropzone even when replacing the second image

Screenshots, screen recording, code snippet

image

Environment info

No response

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

Labels

[Block] ImageAffects the Image Block[Feature] Drag and DropDrag and drop functionality when working with blocks[Status] In ProgressTracking issues with work in progress[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