fix: add dropAnimation prop to DragOverlay in DndProvider

This commit is contained in:
Zeke Zhang 2025-06-28 21:31:01 +08:00
parent 0451a987f9
commit dc4dd22b93

View File

@ -67,7 +67,7 @@ export const DndProvider: FC<DndContextProps> = ({ children, ...restProps }) =>
{...restProps} {...restProps}
> >
{children} {children}
<DragOverlay> <DragOverlay dropAnimation={null}>
{activeId && ( {activeId && (
<span <span
style={{ style={{