Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I found that I can drag in the browser but not in tauri #264

Open
ramos1901 opened this issue Jul 31, 2024 · 3 comments
Open

I found that I can drag in the browser but not in tauri #264

ramos1901 opened this issue Jul 31, 2024 · 3 comments

Comments

@ramos1901
Copy link

I found that I can drag in the browser but not in tauri. I have done dynamic import of render nodes but I still can't see the visual effect of drag and drop. Is it a webview problem?

const DynamicNodeRenderer = dynamic(
() =>
import("./Node").then(
(mod) =>
mod.default as React.ComponentType<NodeRendererProps>
),
{ ssr: false }
);
const DynamicDragPreview = dynamic(() =>
import('./DragPreview').then(mod => mod.default)
, { ssr: false });

@rikas
Copy link

rikas commented Oct 15, 2024

Same problem here, trying to use this library in Tauri and drag and drop simply doesn't work for some reason!

@winner106
Copy link

winner106 commented Nov 21, 2024

tauri.conf.json, "dragDropEnabled": false

    "windows": [
      {
        // others
        "dragDropEnabled": false
      }
    ],

@jameskerr
Copy link
Member

Does that fix solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants