-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"fileDropEnabled" generates problems when "true" for dragging and dropping elements in the HTML - The same goes for the "Draggable" and "VueDraggableNext" components [bug] #8581
Comments
This is indeed expected behavior (that we don't want either), see tauri-apps/wry#904. We still did not find a solution that we're happy with. There is a user-side workaround by abusing the webview's NewWindowRequested event that i've wanted to showcase for ages but never got to it. I'll see if i can get to it over the weekend, maybe it's usable for you. |
Thank you very much @FabianLars for all your help, any alternative solution, even temporary, is found, let us know. Because these components like Draggable help a lot with the user experience and unfortunately they will have to be inactive because I need "fileDropEnabled" to capture the entire path of files dragged via 'tauri://file-drop'. |
Would like to see the workaround as well, any help is appreciated! |
+1 |
Any news for Tauri V2? |
+1 |
1 similar comment
+1 |
+11 |
Describe the bug
Video showing the bug in action - On YouYube
I'm having a problem that I'm not finding a solution to, when I enable "fileDropEnabled" in tauri.config.json, I can get the full path of my files, the problem is that when this function is active, I can no longer use components like "Draggable " or "VueDraggableNext", I tested with both and have the same problem.
In the video above I'm using "Draggable":
Maybe there is a conflict between the native drag and drop and the "fileDropEnabled" feature, I tried several ways to get around this problem and I can't.
As unfortunately native drag and drop does not allow getting the full path of the file (not that I have found a way), I am dependent on a solution to set "fileDropEnabled" to "true" to still allow dragging and dropping files.
Reproduction
https://www.npmjs.com/package/vuedraggable
Expected behavior
The expected behavior would be that the "fileDropEnabled" tool works without affecting native functions or native events of the application
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: