From 3e50aecb965b60d17be59184c6fdd1988a262485 Mon Sep 17 00:00:00 2001 From: Ryan Chen Date: Mon, 12 Oct 2026 17:56:56 -0400 Subject: [PATCH] Desktop: let HTML5 file drops reach the webview Tauri v2 intercepts drag-and-drop by default, so the chat's drop overlay never saw dropped files. Disable its handler on the main window. Co-Authored-By: Claude Opus 5.5 --- desktop/src-tauri/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/src-tauri/src/lib.rs b/desktop/src-tauri/src/lib.rs index 79d5e4a..8c10adc 100644 --- a/desktop/src-tauri/src/lib.rs +++ b/desktop/src-tauri/src/lib.rs @@ -146,6 +146,8 @@ pub fn run() { .title("Simba") .inner_size(1200.0, 820.0) .min_inner_size(420.0, 520.0) + // Let HTML5 drag-and-drop reach the webview (file drop in chat). + .disable_drag_drop_handler() .build()?; build_tray(app.handle())?; register_hotkey(app.handle())?;