This issue is about generic HTML5 drag and drop implementation for Flow components, similarly as it has been introduced in Framework 8.1. This means that any component can be easily made draggable or a drop zone.
For specific components implementations, like layouts (reordering components) / grid (rows), there will be separate issues in the corresponding component repositories.
Updated the issue with the user stories we're looking to support. Mostly the same as with FW 8, but there are some tweaks / additions.
The target is to ship all in a stable Flow version by Vaadin 13 beta1, beginning of February.
The target is to ship all in a stable Flow version by Vaadin 13 beta1, beginning of February.
Postponed for Vaadin 14, should be part of a stable Flow version around the beginning of March.
As an update here, Vaadin 14.0.0 did not contain the flow-dnd module due to an issue with Firefox not working for dragging web components #5606. The fix is included in Firefox 68 and DnD is now working for it, which means that flow-dnd can be included into upcoming 14.1 release (my guestimate would be on September).
The flow-dnd is however already available as a separate artifact. It can be added to any 14.0 project as an add-on by adding the following dependency:
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-dnd</artifactId>
<version>2.0.7</version>
</dependency>
Closing as the parts that are [x] above are to be shipped with 14.1.
The remaining features have been split into their own issues (see above), please go comment in those what you _actually need_ and _what use case do you need it for_. We can enable those in further 14.x minor releases.
Most helpful comment
As an update here, Vaadin 14.0.0 did not contain the
flow-dndmodule due to an issue with Firefox not working for dragging web components #5606. The fix is included in Firefox 68 and DnD is now working for it, which means thatflow-dndcan be included into upcoming14.1release (my guestimate would be on September).The
flow-dndis however already available as a separate artifact. It can be added to any 14.0 project as an add-on by adding the following dependency: