From 3fadc7bf94c2d9b9bb9f440952f3aebd58a98b58 Mon Sep 17 00:00:00 2001 From: Jonas Date: Wed, 4 Feb 2026 13:17:28 +0100 Subject: [PATCH] feat(NcListItem): emit dragstart event Needed for Collectives to alter the DataTransfer property of the DragEvent Signed-off-by: Jonas --- src/components/NcListItem/NcListItem.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/NcListItem/NcListItem.vue b/src/components/NcListItem/NcListItem.vue index fc5251bb9c..baeb75e509 100644 --- a/src/components/NcListItem/NcListItem.vue +++ b/src/components/NcListItem/NcListItem.vue @@ -469,6 +469,7 @@ The `actions-icon` slot can be used to pass icon to the inner NcActions componen @focus="showActions" @focusout="handleBlur" @click="onClick($event, navigate, routerLinkHref)" + @dragstart="$emit('dragstart', $event)" @keydown.esc="hideActions"> @@ -700,6 +701,7 @@ export default { emits: [ 'click', + 'dragstart', 'update:menuOpen', ],