Skip to content

Commit

Permalink
@uppy/dashboard: do not allow drag&drop of file preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Feb 17, 2025
1 parent 4f04568 commit 680c021
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@uppy/dashboard/src/components/FilePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default function FilePreview(props: $TSFixMe) {
if (file.preview) {
return (
<img
draggable={false}
className="uppy-Dashboard-Item-previewImg"
alt={file.name}
src={file.preview}
Expand Down

0 comments on commit 680c021

Please sign in to comment.