From 8503e2d4bc56aed86849691a23d6abbbefc28e1c Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Thu, 14 Mar 2024 08:56:52 +0100 Subject: [PATCH] fix(files): breadcrumbs dnd Signed-off-by: skjnldsv --- apps/files/src/components/BreadCrumbs.vue | 112 +++++++++++++++++--- apps/files/src/components/FileEntryMixin.ts | 71 +++---------- apps/files/src/services/DropService.ts | 75 ++++++++++++- 3 files changed, 188 insertions(+), 70 deletions(-) diff --git a/apps/files/src/components/BreadCrumbs.vue b/apps/files/src/components/BreadCrumbs.vue index d76ed714f20..5f72aac11af 100644 --- a/apps/files/src/components/BreadCrumbs.vue +++ b/apps/files/src/components/BreadCrumbs.vue @@ -34,7 +34,9 @@ :force-icon-text="true" :title="titleForSection(index, section)" :aria-description="ariaForSection(section)" - @click.native="onClick(section.to)"> + @click.native="onClick(section.to)" + @dragover.native="onDragOver($event, section.dir)" + @dropped="onDrop($event, section.dir)">