vue3-dropzone icon indicating copy to clipboard operation
vue3-dropzone copied to clipboard

Disable onClick for getRootProps

Open ilyashuma opened this issue 1 year ago • 2 comments

This PR removes onClick handler from getRootProps. This allows to have a click event with getInputProps on a particular element (button) and use wider area for getRootProps to enable dropzone.

ilyashuma avatar Sep 03 '24 17:09 ilyashuma

Hey @Yaxian! Let me know what you think. I found this to be very useful in my use-cases. Normally I need to have wider areas (sometimes full window area) enabled for dropzone and single element for uploading with FileDialog.

I'd be happy to improve this if needed.

ilyashuma avatar Sep 03 '24 17:09 ilyashuma

Hey @Yaxian, any thoughts?

ilyashuma avatar Sep 11 '24 16:09 ilyashuma