Skip to content

Commit f9ff2b7

Browse files
committed
fix: DragPreview is not visible in safari
1 parent 06b3ea6 commit f9ff2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-aria/dnd/src/DragPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ React.forwardRef(function DragPreview(props: DragPreviewProps, ref: ForwardedRef
7474
}
7575

7676
return (
77-
<div style={{zIndex: -100, position: 'absolute', top: 0, left: -100000}} ref={domRef}>
77+
<div style={{zIndex: -100, position: 'fixed', top: 0, left: -100000}} ref={domRef}>
7878
{children}
7979
</div>
8080
);

0 commit comments

Comments
 (0)