@uppy/dashboard: do not allow drag&drop of file preview (#5650)

This commit is contained in:
Merlijn Vos 2025-02-25 13:48:28 +01:00 committed by GitHub
parent d2db3ad23d
commit f03086b318
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}