Closed hamed-musallam closed 6 months ago
https://react-dropzone.js.org/#section-event-propagation https://github.com/zakodium-oss/react-science/blob/c4628bd14c2f0258436cbfa4f3a24b7a48f44a8a/src/components/drop-zone/DropZone.tsx#L107-L111
We need to have this option to stop propagation from the child to the parent, where we have a similar case in NMRium
https://github.com/zakodium-oss/react-science/assets/35760236/99cc3161-d1cb-4b19-9c24-a4ef4e846438
https://react-dropzone.js.org/#section-event-propagation https://github.com/zakodium-oss/react-science/blob/c4628bd14c2f0258436cbfa4f3a24b7a48f44a8a/src/components/drop-zone/DropZone.tsx#L107-L111
We need to have this option to stop propagation from the child to the parent, where we have a similar case in NMRium
https://github.com/zakodium-oss/react-science/assets/35760236/99cc3161-d1cb-4b19-9c24-a4ef4e846438