Skip to content

Conversation

@ilyashuma
Copy link

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.

This allows to have onClick event with getInputProps on a particular button
and use wider area for getRootProps
@ilyashuma
Copy link
Author

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
Copy link
Author

Hey @Yaxian, any thoughts?

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

Successfully merging this pull request may close these issues.

1 participant