FileDropTarget extension with single and multi file selector support
FileDropTargetAndSelector is a UI component extension for Vaadin 8.1+.
!!! See also https://github.com/vaadin/framework/issues/9974 !!! Workaround with UI.setMobileHtml5DndEnabled(true); seems to work for now
It extends Vaadin's FileDropTarget (since 8.1) extension with file selector capability and uses the same api to transfer the selected file(s) to the server.
This extension simple uses following approach to get the selected file or files, and passes the FileList to Vaadin's FileDropTargetConnector: Using files from web applications
fixes drop state (fixes client side exception which prevents sending file immediately to server. Mouse move or other action was needed in order transfer was processed)