Closed sdixon194 closed 3 years ago
I was able to reproduce the issue.
To add the same image multiple times in a gallery, you'll have to edit the gallery item and select the image.
I guess that this happens because children will have the same key
prop.
Description
When adding the same image to a gallery block, moving adjacent images will duplicate that image multiple times.
Step-by-step reproduction instructions
Please list the steps needed to reproduce the bug. For example:
Expected behaviour
The images to just swap positions normally.
Actual behaviour
Another image was duplicated instead.
Screenshots or screen recording (optional)
Easier to see with this:
WordPress information
Device information