vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
616 stars 167 forks source link

Support dropping files to any drop zone #6795

Open pleku opened 4 years ago

pleku commented 4 years ago

When building an app, I want to create a drop zone with a component so the user can drop files from outside of the browser to it and those can be used in the app

Split out from #3978

Since the Upload component support dropping files into it, it is unclear if there is enough added value in this feature because it will require a lot of work.

rmuller commented 4 years ago

In the documentation is stated:

This feature is available starting from Vaadin version 14.1 and is aimed at enabling drag and drop operations inside Vaadin UIs. Support for generic drags & drops to and from outside desktop applications or other web pages is coming in an upcoming minor release for 14.

Reading this, I assume this includes "Support dropping files to any drop zone". However, Vaadin 14.2 is just released and this very useful functionality is not included.

However, this ticket is labelled "Maybe". So this has to be planned, or the documentation needs an update.

NOTE: This functionality was supported by Vaadin 8.