Feature request: provide callbacks for drag and drop
Hello,
First of all, thanks for the great job 🤗!
I know this can be partially done using JavaScript, but due to browser security limitations is not possible to get the full path of the file being dropped. Could be possible to get this information via the native interface?
This is definitely possible to do at the native level. I know there are plans for version 1.0 that would allow someone to pass their own native window to webview for it to attach to. This means you could set up drag-and-drop on your window and pass it along to webview for it to attach to.
Does anyone have a workaround to pass a path to the backend via drag&drop of the file?
Is there a way to do the same that was done for electron here?