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]) {