vutoan266 / react-images-uploading

The simple images uploader applied Render Props pattern that allows you to fully control UI component and behaviors.
https://github.com/vutoan266/react-images-uploading
MIT License
320 stars 52 forks source link

Removed images cannot be re-added #9

Closed dougwigg closed 4 years ago

dougwigg commented 4 years ago

First, thanks for this package! nicely done :)

The error I'm seeing ( which might be considered a feature in some cases ) is that if you add 1 image, then remove it, you cannot re-add that same image ( when selecting a single image at a time ).

The error can be repro-ed on the demo page ( add 1 image, remove it, try to re-add it ).

In my app ( where users are uploading a profile pic ) this could be confusing if someone changes their mind and then can't re-add an image.

vutoan266 commented 4 years ago

Hi bro, Thanks for your feedback. The above issue I have fixed and released in version 2.2.1 also upgraded dependency version on codesandbox demo :D

dougwigg commented 4 years ago

Hey thanks! that was fast :)

On Thu, Jul 9, 2020 at 11:09 AM vutoan266 notifications@github.com wrote:

Hi bro, Thanks for your feedback. The above issue I have fixed and release in version 2.2.1 https://www.npmjs.com/package/react-images-uploading also upgrade dependency version on codesandbox demo :D

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vutoan266/React-images-uploading/issues/9#issuecomment-656184944, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIUSA72B6JNXM7ZZZMUCXTR2XMSVANCNFSM4OVR764A .