cameronhimself / vue-drag-drop

A lightweight Vue wrapper that abstracts away the wonkier parts of the Drag and Drop Browser API
496 stars 83 forks source link

HIde green plus icon when dragging #57

Closed beliolfa closed 6 years ago

beliolfa commented 6 years ago

Is there a way to disable the icon that appears when you are in the drop zone? In my app this feature is for moving elements and the feeling is that you are actually duplicating them.

I dont know if it is either macOs specific or related with brower.

Thank you!

cameronhimself commented 6 years ago

So, the correct way to do this is with the effect-allowed and drop-effect properties, but I goofed and they weren't actually working. That is fixed in 1.1.4, which I just published. I've also added all of the possible cursor effects to the demo page, so take a look and see if any of those are appropriate to your use case.

beliolfa commented 6 years ago

Awesome! Yeah I did all the possible cases and none of them worked.

Thank you for the fix.