There doesn't seem to be a way to add FileSystemEntry objects to a DataTransferItemList, preventing creating drag (and clipboard) events containing directories.
This is currently preventing Chrome OS to implement drag and drop of directories since the Files app uses existing Web APIs. See https://crbug.com/937585
There doesn't seem to be a way to add
FileSystemEntryobjects to aDataTransferItemList, preventing creating drag (and clipboard) events containing directories.This is currently preventing Chrome OS to implement drag and drop of directories since the Files app uses existing Web APIs. See https://crbug.com/937585