Skip to content

Commit 3682dba

Browse files
committed
fix: update transform method in DnD sortable HOC to use CSS.Translate
1 parent c51f814 commit 3682dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/hocs/with-dnd-sortable/with-dnd-sortable.hoc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const WithDndSortable = forwardRef<HTMLDivElement, WithDndSortableProps>(
3232
})
3333

3434
const style: CSSProperties = {
35-
transform: CSS.Transform.toString(transform),
35+
transform: CSS.Translate.toString(transform),
3636
transition,
3737
opacity: isDragging ? 0 : 1,
3838
position: 'relative'

0 commit comments

Comments
 (0)