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
What is the current behavior?
When setting maxFiles to e.g. 5, react-dropzone correctly prevents me from dropping more than 5 files at the same time. However, if I first drop 3 files, then update the maxFiles prop to 2, this update is not taken into account.
Do you want to request a feature or report a bug?
What is the current behavior?
When setting
maxFiles
to e.g. 5,react-dropzone
correctly prevents me from dropping more than 5 files at the same time. However, if I first drop 3 files, then update themaxFiles
prop to 2, this update is not taken into account.If the current behavior is a bug, please provide the steps to reproduce.
https://codesandbox.io/s/wizardly-wing-nxn8d?file=/src/app.js
maxFiles
What is the expected behavior?
Files in step 2 should be rejected
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Operating System and react-dropzone version.
version 11.2.2 (as in codesandbox)
The text was updated successfully, but these errors were encountered: