How to identify which drag area we dragged if there are multiple such sections in a page #1263
frontendDevResearcher
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a situation where there are multiple drag sections as they are inside a loop. how can I identify which drag section we have dropped the file.
here is a code sandbox link for the same https://codesandbox.io/s/react-dropzone-forked-shmd88?file=/src/Dropzone.js:185-987
I have tried to give the input file a dynamic index but it always ends up with the last one.
Beta Was this translation helpful? Give feedback.
All reactions