From 1bc4b46471741b08976ffbde3586cbe99fb4682c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Loridan?= Date: Sat, 24 Apr 2021 13:50:04 +0300 Subject: [PATCH] fix(edge: styles): click only on the stroke of the edge --- src/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index 6ff9db4f..e98eb58e 100644 --- a/src/style.css +++ b/src/style.css @@ -42,7 +42,7 @@ } .react-flow__edge { - pointer-events: all; + pointer-events: visibleStroke; &.inactive { pointer-events: none; @@ -145,6 +145,7 @@ .react-flow__edgeupdater { cursor: move; + pointer-events: all; } /* additional components */