Drag on key press #1333
-
|
Hello ! I've look around the docs, and didnt find an intended way to drag a node by using a key press. Also thanks for the team for making and maintaining this, I've been using it for a year now and its absolutly amazing! 🚀🧡 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There no built-in functionality to toggle draggability but it's possible by handling the key press yourself. There is a prop called |
Beta Was this translation helpful? Give feedback.
There no built-in functionality to toggle draggability but it's possible by handling the key press yourself.
There is a prop called
nodesDraggablethat you can use to toggle draggability of nodes, just toggle it the keypress you're listening to 😄