react-images-upload icon indicating copy to clipboard operation
react-images-upload copied to clipboard

Add same image more than once to and then try to remove one of them

Open sw7x opened this issue 5 years ago • 0 comments

when we add same image file more than once let say first if we add 1.jpg, 2.jpg, 3,jpg then add 4.jpg, 1.jpg,

finally when we try to remove last added 1.jpg file from queue

plugin will will remove first added 1.jpg file not last added 1,jpg file

files added to queue = 1.jpg, 2.jpg, 3,jpg, 4.jpg, 1.jpg

expected result after removing last added 1.jpg file = 1.jpg, 2.jpg, 3,jpg, 4.jpg

actual result = 2.jpg, 3,jpg, 4.jpg, 1.jpg


refer this if you don't understand

Image of Yaktocat

result after removing image which is point out by red arrow

Image of Yaktocat

expected result

Image of Yaktocat

sw7x avatar Jun 14 '20 11:06 sw7x