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
Something to consider for docs (maybe v1; definitely v2): https://tauri.app/v1/api/config/#windowconfig.filedropenabled says "Disabling it is required to use drag and drop on the frontend on Windows." though in my case (below) the param was NOT required on Windows & Linux but setting to false FIXED the issue on Mac.
My case: integrating CodeMirror into a Tauri app. Same behavior in v1 & v2 (with no param, so default true):
drag/drop of text works on Windows & Linux
but not Mac
The workaround in v1, as documented:
set "fileDropEnabled": false in tauri.conf.json
The param has been renamed in v2:
dragDropEnabled
So: thanks to Tauri folks for including & documenting the param. Even though my case behaved differently, it showed what to try.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Something to consider for docs (maybe v1; definitely v2): https://tauri.app/v1/api/config/#windowconfig.filedropenabled says "Disabling it is required to use drag and drop on the frontend on Windows." though in my case (below) the param was NOT required on Windows & Linux but setting to false FIXED the issue on Mac.
My case: integrating CodeMirror into a Tauri app. Same behavior in v1 & v2 (with no param, so default true):
The workaround in v1, as documented:
The param has been renamed in v2:
So: thanks to Tauri folks for including & documenting the param. Even though my case behaved differently, it showed what to try.
Beta Was this translation helpful? Give feedback.
All reactions