brimdata/react-arborist

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

Opened this issue · 0 comments

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 });