chanced / filedrop-svelte

File dropzone for Svelte.
MIT License
109 stars 12 forks source link

Add filedragover event to FileDrop Action Example #12

Open bluepuma77 opened 2 years ago

bluepuma77 commented 2 years ago

It would be nice for the FileDrop Action Example to visually indicate the filedragover event. Maybe by changing border or background color.

This would be especially useful if you have multiple FileDrop elements and windowDrop=false. With the visual indication the user knows for sure that s/he is dropping the file on an active element (and not just next to it).

I tried to create a FileDrop Action Example with visual filedragenter but the filedragover event is lost when the file is moved over the cloud image or text within the FileDrop element.

chanced commented 1 year ago

Sorry about the late reply on this. I'll look into it.