You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow disabling the webview file drop handler (required to use drag and drop on the frontend on Windows) using the `tauri.conf.json > tauri > windows > fileDropEnabled` flag or the `WebviewAttributes#disable_file_drop_handler` method.
Copy file name to clipboardExpand all lines: docs/api/config.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -252,6 +252,7 @@ It's composed of the following properties:
252
252
<Properties anchorRoot="tauri.windows" rows={[
253
253
{ property: "label", type: "string", description: `Window id to reference on the codebase.` },
254
254
{ property: "url", type: "string", description: `URL to load on the webview.` },
255
+
{ property: "fileDropEnabled", type: "boolean", description: `Whether the file drop handler is enabled or not on the webview. Disabling it is required to use drag and drop on the frontend on Windows.` },
255
256
{ property: "center", type: "boolean", description: `Show window in the center of the screen.` },
256
257
{ property: "x", type: "number", description: `The horizontal position of the window's top left corner.` },
257
258
{ property: "y", type: "number", description: `The vertical position of the window's top left corner.` },
Copy file name to clipboardExpand all lines: tooling/cli.rs/schema.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1104,6 +1104,11 @@
1104
1104
"default": true,
1105
1105
"type": "boolean"
1106
1106
},
1107
+
"fileDropEnabled": {
1108
+
"description": "Whether the file drop is enabled or not on the webview. By default it is enabled.\n\nDisabling it is required to use drag and drop on the frontend on Windows.",
1109
+
"default": true,
1110
+
"type": "boolean"
1111
+
},
1107
1112
"fullscreen": {
1108
1113
"description": "Whether the window starts as fullscreen or not.",
0 commit comments