Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
slutske22 opened this issue Oct 26, 2021 · 0 comments
Open

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

slutske22 opened this issue Oct 26, 2021 · 0 comments

Comments

@slutske22
Copy link

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

  • Browser: chrome
  • @material-ui/core version: [e.g. 4.9.2]
  • material-ui-dropzone version: [e.g. 3.0.1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant