You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When double clicking on the FileMosaic an alert will show with the text "double click on file", I provided my own onDoubleClick to the component, but it doesn't override the default function but I'm still able to call my custom function.
We are sorry for the inconvenience.
Could you please upgrade to @files-ui/react 1.0.8?
That's the latest version in which we have already solved this issue.
Please, tell us if that worked for you:
Thanks in advance! 🎆
Describe the bug
When double clicking on the FileMosaic an alert will show with the text "double click on file", I provided my own onDoubleClick to the component, but it doesn't override the default function but I'm still able to call my custom function.
To Reproduce
Steps to reproduce the behavior:
<Dropzone onChange={updateFiles} value={files} accept=".csv" maxFiles={1} > {files.map((file: ExtFile) => ( <FileMosaic key={file.id} {...file} onDelete={removeFile} info={true} onDoubleClick={() => { console.log("hi there"); }} /> ))} </Dropzone>
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
I'm using @files-ui/react: 1.0.5
The text was updated successfully, but these errors were encountered: