Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with disabling drag and drop functionality #237

Open
chemseddine201 opened this issue Dec 21, 2023 · 0 comments
Open

Issue with disabling drag and drop functionality #237

chemseddine201 opened this issue Dec 21, 2023 · 0 comments

Comments

@chemseddine201
Copy link

I am currently facing an issue with disabling the drag and drop functionality in the Dropzone feature. I attempted to use the "clickable" option within the "djsConfig" to disable the click event, which worked perfectly. However, the problem arises when I use the "clickable" option it allows me to drag and drop files into the dropzone, which is something I want to prevent.

I explored potential solutions, such as using the "nodrag" option mentioned in the React Dropzone package. Unfortunately, this option is not supported by the current package I am using "react-dropzone-component ^3.2.0",. Additionally, I tried using a drop handler function to prevent the drag and drop action, but it did not yield the desired outcome.

Could you kindly suggest any alternative methods or options to completely disable the drag and drop event in the Dropzone feature? I greatly appreciate any assistance you can provide.

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

No branches or pull requests

1 participant