From 8fa8130d9de980b11eae28689ef7d1ead9a2cec8 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Sun, 30 Oct 2022 13:32:20 +0300 Subject: [PATCH] fix: #158 --- src/components/Graph/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Graph/index.tsx b/src/components/Graph/index.tsx index a9c0ddc..584182d 100644 --- a/src/components/Graph/index.tsx +++ b/src/components/Graph/index.tsx @@ -31,7 +31,7 @@ const StyledEditorWrapper = styled.div<{ isWidget: boolean }>` cursor: move; } - .dragging { + .dragging, .dragging button { pointer-events: none; } @@ -107,7 +107,7 @@ const GraphComponent = ({ if (nodes.length > 8_000) return ; return ( - + e.preventDefault()}> {loading && }