Drag and drop

Hello guys, so i’ve got in my application section with Directories and Folders. I would like to ask if there’s possibility to have drag and drop of vaadin components (mappings of files and folders in my application) and also drag and drop of external files from pc in one component. If i understand correctly generic drag and drop API from Vaadin 14.1 doesn’t support external files so is there any other solution, workarounds would be also helpfull. I tried to put Uploader component like under and above the component for files and use component’s drag and drop for existing Vaadin components but i failed and i think it may be impossible to do something like that. I wonder if there’s a way to have two drop listeners if that from Upload won’t operate on vaadin components and that from Components won’t operate on files.

Hi Lukasz. I think what you need is to either get folder upload support for the Upload component, here is the issue for the web component https://github.com/vaadin/vaadin-upload/issues/312 that you should go +1 and follow. It would also need Java integration for the feature.

Another thing would be https://github.com/vaadin/flow/issues/6795 but since we have the upload component already, I don’t know how much more added value it would bring to enable dropping files from desktop to any component.