A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/react-dropzone/react-dropzone/issues/1249 below:

[BUG] File path not available on Electron if clicking to select files · Issue #1249 · react-dropzone/react-dropzone · GitHub

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:

  1. Clone minimal example https://github.com/JuanIrache/react-dropzone-electron-path-debug
  2. npm install
  3. npm run dev
  4. drag a file and see how the path prints correctly
  5. click to select a file and see how it does not

Expected behavior
The file path can be read

Desktop:

Additional context
This was working on react-dropzone@11, breaks on @12 and newer


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4