Skip to content

Commit f03086b

Browse files
authored
@uppy/dashboard: do not allow drag&drop of file preview (#5650)
1 parent d2db3ad commit f03086b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@uppy/dashboard/src/components/FilePreview.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default function FilePreview(props: $TSFixMe) {
99
if (file.preview) {
1010
return (
1111
<img
12+
draggable={false}
1213
className="uppy-Dashboard-Item-previewImg"
1314
alt={file.name}
1415
src={file.preview}

0 commit comments

Comments
 (0)