'isDragReject' not called when excceeded maxSize
See original GitHub issueDo you want to request a feature or report a bug?
- I found a bug
- I want to propose a feature
What is the current behavior?
- Listen for
isDragReject
event and setmaxSize
parameter - Drag file in front of drop zone
- Event
isDragReject
not fire when file is larger thanmaxSize
parameter
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
In React-dropzone, how to tell the user the file's maxSize is too ...
The problem is react-dropzone is not telling the user the file is too big. How can I update the above to tell the...
Read more >[Solved]-React custom synthetic event-Reactjs - appsloveworld
Why is there no `keyCode` value on the synthetic event in react using ... causing Maximum call stack size exceeded · react-dropzone: isDragReject...
Read more >react-dropzone
Any file which does not have a size in the [ minSize , maxSize ] range, will be rejected as well. Note that...
Read more >How to prevent upload when max size dimentions are ... - MSDN
In dropzone documents says that thumbnail is the size of the preview images, im not sure if that can be used to validate...
Read more >React Dropzone and File Uploads in React - Upmostly
To do that, we'll add another render prop called isDragRejected. ... Jump back into your code, and add the two minSize and maxSize...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using 11.3.4 and I face the same issue. Any solutions yet?
@krungta-mdsol @SaraRavasio could you open a new issue and provide a way to reproduce. Do note that while dragging, we cannot get any file info (such as file size), so the
isDragReject
is unreliable, until the drop event happens.