An onClick method is added to the drop-container so that when any part of the container is clicked, it triggers the hidden input field by using its ref. So make sure to set the configuration: Dropzone.autoDiscover = false; as soon as the script is loaded. Here is the link of: In this article we’ll show you how to implement drag and drop file upload in React using react-dropzone-uploader. All the folders within the root folder need to keep their original names. Scalable dropzone box - You can easily set the size of the dropzone box so it fits the space on your website. It converts any DOM element into a 'dropzone' area. If your Dropzone element is a