#Confirming understanding of Drag and Drop Issues on Windows

1 messages · Page 1 of 1 (latest)

rocky lake
#

In V1 & V2 in Tauri, is this still accurate:

A Tauri app can receive a drag and drop event by enabling the file drop handler.

When that functionality is active, it prevents the browser from using native drag and drop functionality. So, apps that want to use native drag and drop functionality within the JS/HTML cannot enable the native file drop support.

Then, in doing so, there is no way to drop a file and receive the file path (for example, to open the file in Rust natively and save back to the same file again natively in Rust.)

(I believe I've found github issues related to this that eventually were a dead-end)

thick fiber
#

Your summary is indeed correct for both v1 and v2 - at least for windows. On macos/linux the browser native drag drop may (partially) keep working with tauri's file drop handler enabled.