Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Numerous issues and discussions suggest that it's impossible to use Tauri's
dragDropEnabled: true
option alongside web dnd libraries.However, I recently discovered that the clash-verge-rev project successfully implemented simultaneous support for dragging external files and in-page drag-and-drop reordering. This piqued my interest and motivated me to explore further.
I then found this critical comment, which clarifies that using pure JS-based coordinate calculations instead of HTML5 drag-and-drop APIs can bypass the conflict.
Since my project uses Vue Draggable, adding the
:forceFallback="true
prop resolved the issue immediately (Windows 11). For React users, the same principle applies - libraries like react-beautiful-dnd or react-dnd that avoid native HTML5 events should work. Perhaps someone could add effective React implementations here?I believe others struggling with this issue deserve to see this solution! 🚀
Beta Was this translation helpful? Give feedback.
All reactions