Skip to content

Drag on key press #1333

Discussion options

You must be logged in to vote

There no built-in functionality to toggle draggability but it's possible by handling the key press yourself.

There is a prop called nodesDraggable that you can use to toggle draggability of nodes, just toggle it the keypress you're listening to 😄

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JulesDebeaumont
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants