aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-03-17 02:04:27 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-03-18 13:05:08 +0100
commit3f3955e04bcc749f3e6fdc7454a1cf3cbc83db32 (patch)
tree4575555d12c017cd4988071c0de8924306c164d8 /apps/files/src/components
parent3af954fcc876a7c35b2c71b138fc02c37fcf83c1 (diff)
downloadnextcloud-server-3f3955e04bcc749f3e6fdc7454a1cf3cbc83db32.tar.gz
nextcloud-server-3f3955e04bcc749f3e6fdc7454a1cf3cbc83db32.zip
fix(files): Adjust files drop to work with Blink engine (chrom(ium), edge)
The datatransfer items list is cleared on Blink after the first access to an inner prop due to async handling and GC. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/components')
-rw-r--r--apps/files/src/components/DragAndDropNotice.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/src/components/DragAndDropNotice.vue b/apps/files/src/components/DragAndDropNotice.vue
index a9c1d8e99ad..f9b830ca755 100644
--- a/apps/files/src/components/DragAndDropNotice.vue
+++ b/apps/files/src/components/DragAndDropNotice.vue
@@ -22,6 +22,7 @@
-->
<template>
<div v-show="dragover"
+ data-cy-files-drag-drop-area
class="files-list__drag-drop-notice"
@drop="onDrop">
<div class="files-list__drag-drop-notice-wrapper">