From 56a7042731aea76520e7a4451f1b7f4a6eba129c Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6?= Date: Wed, 20 Dec 2023 09:25:04 +0100 Subject: [PATCH] fix(files): drag and drop events chain and cancel MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- .../src/components/DragAndDropNotice.vue | 79 ++++++++++++++++--- .../files/src/components/FilesListVirtual.vue | 4 +- apps/files/src/services/DropService.ts | 9 ++- 3 files changed, 78 insertions(+), 14 deletions(-) diff --git a/apps/files/src/components/DragAndDropNotice.vue b/apps/files/src/components/DragAndDropNotice.vue index 66cddcaff97..df03713601d 100644 --- a/apps/files/src/components/DragAndDropNotice.vue +++ b/apps/files/src/components/DragAndDropNotice.vue @@ -25,23 +25,33 @@ class="files-list__drag-drop-notice" @drop="onDrop">
- -

- {{ t('files', 'Drag and drop files here to upload') }} -

+ + + +