Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Have you updated FilePond and its plugins?
- I have updated FilePond and its plugins
Describe the bug
This problem is occurred only in Chrome browser and in case when you are using drag and drop methods to add files to the filepond uploading area.
To view the problem you can log the data in onwarning event like:
onwarning: (oObject) => {
const { body, type } = oObject;
if (type === 'warning' && body === 'Max files')
console.log(oObject);
},
Reproduction
- set option maxFiles to 5
- open area with files and select 5 items -> then drag and drop them to filepond uploading area
- remove 4 files from filepond uploading area after finishing
- open area with files again and drag and drop at least one file
So, you will see that now there are only 2 files in filepond area, but onwarning still occurs with Max files error.
Environment
- Device: PC
- OS: MAC Sierra, Windows 11
- Browser: Chrome 99+