Yuvaleros / material-ui-dropzone

A Material-UI file upload dropzone
MIT License
483 stars 248 forks source link

filesLimit={more_than_1} doesn't show red error on hover #332

Open slutske22 opened 2 years ago

slutske22 commented 2 years ago

Bug Report

When using filesLimit value of greater than 1, hovering too many files over the dragndrop area does not show the red error handling as it does when filesLimit is set to 1.

Steps to reproduce

Go this this codesandbox. Try dragging too many files into each of the dropzones. You will see that the first one, which has filesLimit={1}, gives a nice red error overlay as you drag. The other 2, which have filesLimit={2} and filesLimit={3}, do not.

Expected behavior

Dragging too many files into the area should show the red error overlay when dragging

Versions