We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c57ee commit 16feb68Copy full SHA for 16feb68
src/vs/workbench/browser/parts/views/treeView.ts
@@ -1265,6 +1265,9 @@ export class CustomTreeViewDragAndDrop implements ITreeDragAndDrop<ITreeItem> {
1265
this.treeViewsDragAndDropService.addDragOperationTransfer(uuid, this.dndController.handleDrag(itemHandles, uuid));
1266
originalEvent.dataTransfer.setData(TREE_DRAG_UUID_MIME, uuid);
1267
this.treeItemsTransfer.setData([new DraggedTreeItemsIdentifier(uuid)], DraggedTreeItemsIdentifier.prototype);
1268
+ this.dndController.supportedMimeTypes.forEach(supportedType => {
1269
+ originalEvent.dataTransfer?.setData(supportedType, '');
1270
+ });
1271
}
1272
1273
private addResourceInfoToTransfer(originalEvent: DragEvent, resources: URI[]) {
0 commit comments