Open JuanIrache opened 1 year ago
useFsAccessApi: false
fixes this
@JuanIrache you're THE legend! Thanks a bunch!
@JuanIrache thanks! Fixed my issue with the missing file path in Electron app when using react-dropzone.
useDropzone({ onDrop, useFsAccessApi: false })
This fixed an issue for me at one point but updating libraries today has this happening again.
@steveoh what version are you on now? Note that we've made the file access API disabled by default now.
Newest version. Electron made a change that the prerender has to provide the location with a new webutils api and the renderer cannot access it directly.
Newest version. Electron made a change that the prerender has to provide the location with a new webutils api and the renderer cannot access it directly.
Is this something we need to fix/handle on our end?
Not in my opinion.
Describe the bug Dragging files into the Electron app provides the absolute file path, clicking to select the files with a dialog does not
To Reproduce Steps to reproduce the behavior:
Expected behavior The file path can be read
Desktop:
Additional context This was working on react-dropzone@11, breaks on @12 and newer