Skip to content

Commit

Permalink
fix(edge: styles): click only on the stroke of the edge
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément Loridan committed Apr 24, 2021
1 parent 0e9ae9f commit 1bc4b46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}

.react-flow__edge {
pointer-events: all;
pointer-events: visibleStroke;

&.inactive {
pointer-events: none;
Expand Down Expand Up @@ -145,6 +145,7 @@

.react-flow__edgeupdater {
cursor: move;
pointer-events: all;
}

/* additional components */
Expand Down

0 comments on commit 1bc4b46

Please sign in to comment.