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
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 havefilesLimit={2}
andfilesLimit={3}
, do not.Expected behavior
Dragging too many files into the area should show the red error overlay when dragging
Versions
@material-ui/core
version: [e.g. 4.9.2]material-ui-dropzone
version: [e.g. 3.0.1]