Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix node events

Aykut Saraçd63aeb1a8b7c
diff --git a/src/containers/LiveEditor/CustomNode/styles.tsx b/src/containers/LiveEditor/CustomNode/styles.tsx
index 0d771bdc..fd510fd9 100644
--- a/src/containers/LiveEditor/CustomNode/styles.tsx
+++ b/src/containers/LiveEditor/CustomNode/styles.tsx
@@ -23,7 +23,9 @@ export const StyledText = styled.pre<{
color: ${({ theme }) => theme.SILVER};
`;
-export const StyledForeignObject = styled.foreignObject``;
+export const StyledForeignObject = styled.foreignObject`
+ pointer-events: none;
+`;
export const StyledKey = styled.span<{
objectKey?: boolean;