From 0e2b5fe0920e6af13507cb0294f7ba552ad47d8a Mon Sep 17 00:00:00 2001 From: joey chik Date: Mon, 29 Jun 2026 14:24:00 -0400 Subject: [PATCH] use native js event listeners --- src/drag-drop-context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drag-drop-context.tsx b/src/drag-drop-context.tsx index a18c541..3d15412 100644 --- a/src/drag-drop-context.tsx +++ b/src/drag-drop-context.tsx @@ -579,7 +579,7 @@ const DragDropProvider: ParentComponent = ( for (const key in eventMap) { let handlerKey = key; if (asHandlers) { - handlerKey = `on${key}`; + handlerKey = `on:${key}`; } listeners[handlerKey] = (event) => { for (const { activator } of eventMap[key]) {