Skip to content

Commit 8b61688

Browse files
committed
minor fixes
1 parent 35673cf commit 8b61688

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

examples/src/pages/tests/table/dnd/dnd-source-target.page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ function makeRenderDragProxy(getItems: () => Item[]) {
275275
proxyRef={ref}
276276
style={{
277277
position: 'fixed',
278-
background: 'red',
279278
top: initialRect.top + dy,
280279
left: initialRect.left + dx,
281280
width: initialRect.width,

source/src/components/InfiniteTable/components/draggable/DragList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ export type DragListProps = {
126126
/**
127127
* Controls how the dragged item is rendered during a drag operation.
128128
*
129-
* - `'inline'` (default): the item stays in the DOM flow and moves via CSS transforms.
130-
* - `'proxy'`: a fixed-position clone is created outside scroll containers so it is
129+
* - `'inline'`: the item stays in the DOM flow and moves via CSS transforms.
130+
* - `'proxy'`: (default) a fixed-position clone is created outside scroll containers so it is
131131
* never clipped by overflow. The original item is visually hidden during the drag.
132132
*/
133133
dragStrategy?: 'inline' | 'proxy';

0 commit comments

Comments
 (0)