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

Add a basic look for the drop zone #7

Open
kvvinokurov opened this issue Nov 6, 2019 · 0 comments
Open

Add a basic look for the drop zone #7

kvvinokurov opened this issue Nov 6, 2019 · 0 comments

Comments

@kvvinokurov
Copy link

kvvinokurov commented Nov 6, 2019

This is:

  • Bug
  • Question

Expected Behavior

It is necessary that when you hover the file over the entire File component, the entire area would be a drop zone with a similar design.
example

Actual Behavior

Drop zone is presented as in the example, but it does not work because it has zero height.
<div {...getDropZoneProps({className: "myDropZone"})}/>

Steps to Reproduce the Problem

  1. Add the code from the example
  2. Move a file to the zone of the File component
  3. Now this zone by default resembles the eye of a needle

Possible Solution

Displaying the drop zone in full size is initially simple, but visually not beautiful, because takes up a lot of space. But if you make a hover effect, in which the entire zone of the File component becomes a drop zone - this is cool.

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