You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsure if this issue is caused by issues with the onDrop prop callback. I was using the onDrop prop to check for duplicate files (I store an array in state to check for duplicates) until I realised that the onDrop call would prevent the component from continuing thus no uploads would occur.
I then tried to put the same duplicate check in the s3-uploader preprocess prop call, I'm able to have minor success via the next(file) method, however when I hit a duplicate I can't simply skip that file by not calling next(file), as it then cancels uploads for all further files in that drop.
Is there something I'm missing to achieve this?
Many thanks
The text was updated successfully, but these errors were encountered:
Hey there,
Unsure if this issue is caused by issues with the onDrop prop callback. I was using the onDrop prop to check for duplicate files (I store an array in state to check for duplicates) until I realised that the onDrop call would prevent the component from continuing thus no uploads would occur.
I then tried to put the same duplicate check in the s3-uploader preprocess prop call, I'm able to have minor success via the next(file) method, however when I hit a duplicate I can't simply skip that file by not calling next(file), as it then cancels uploads for all further files in that drop.
Is there something I'm missing to achieve this?
Many thanks
The text was updated successfully, but these errors were encountered: