How to disable edge selection ? #1157
Answered
by
bcakmakoglu
gitHoussem
asked this question in
Q&A
-
Hi, As you can see from the gif below, when trying to move around in the viewport, i can grab and move anywhere I want, until I reach an edge, when I try to move around when my cursor is on the edge, the edge selection event (I presume) is dominant, I can't move around until I put my cursor outside the edge. Is there a way to disable this? My edges should not be interactable at all (they are created and removed programmatically). Thank you ! |
Beta Was this translation helpful? Give feedback.
Answered by
bcakmakoglu
Nov 3, 2023
Replies: 1 comment 1 reply
-
You can set .vue-flow__edge {
pointer-events: none;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gitHoussem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set
edge.selectable
to false or just disable pointer events on edges altogether with css