diff --git a/packages/core/client/src/schema-component/common/dnd-context/index.tsx b/packages/core/client/src/schema-component/common/dnd-context/index.tsx index 4d2090cad..d72a488a3 100644 --- a/packages/core/client/src/schema-component/common/dnd-context/index.tsx +++ b/packages/core/client/src/schema-component/common/dnd-context/index.tsx @@ -31,6 +31,11 @@ const useDragEnd = (props?: any) => { return; } + if (activeSchema.parent === overSchema && insertAdjacent === 'beforeEnd') { + props?.onDragEnd?.(event); + return; + } + const dn = createDesignable({ t, api,