You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you so much for creating this project and keeping it up!!
My question pertains to drag and drop. Is there a way to customize where files can be dragged to? Let's take the following folder structure as an example:
Parent Folder
├── A
├── file.zip
├── B
│ ├── C
│ │ ├── image.jpg
I want to prevent dragging the file.zip into the folder A but want to allow it inside of B and the subfolders.
Is there a way to do this currently?
The text was updated successfully, but these errors were encountered:
You can set droppable: false on folder A to prevent any files from being dropped into it.
Targeting .zip files specifically will be a bit harder, you'll need to listen to the StartDragNDrop action in your action handler and update folder A's file object accordingly.
First of all, thank you so much for creating this project and keeping it up!!
My question pertains to drag and drop. Is there a way to customize where files can be dragged to? Let's take the following folder structure as an example:
I want to prevent dragging the
file.zip
into the folder A but want to allow it inside of B and the subfolders.Is there a way to do this currently?
The text was updated successfully, but these errors were encountered: