-
Notifications
You must be signed in to change notification settings - Fork 149
onDrop fires twice #88
Comments
Problem in source file index.js in 90 line:
Callback call on parent method onChange. I don't undestand for what? |
Temporarily solution is making global variable Set type. Thoose in ever drop/add image adding in it file name and check before adding. If file name is exist in Set return from onDrop: class AdminSlider extends Component {
} |
replicating the pull request for (Issue JakeHartnell#88 fixed: onDrop fires twice) in the main repo. JakeHartnell#95
replicating the pull request for (Issue JakeHartnell#88 fixed: onDrop fires twice) in the main repo. JakeHartnell#95
Is it possible to get this published to npm? The current version seems to still have this bug. |
Same issue. I hope it gets published soon |
Issue #88 fixed: onDrop fires twice
@JakeHartnell @kibernetika Thanks for hard work, has this issue been fixed? It still fires twice to me! |
#95 is merged and Problem is in source file index.js in line 143 line: removeImage(picture) {
} after state change Callback call on parent method onChange need to remove it |
I add some files to uploader -> onDrop event fires twice
"react-images-upload": "^1.2.3",
The text was updated successfully, but these errors were encountered: