jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.42k stars 714 forks source link

Is there any way to disable node movement when you are inside an input or text area, to edit and select the content? #760

Closed gabrielayer closed 10 months ago

gabrielayer commented 10 months ago

20230830-0249-47 6855016-_1_

Hey! Is there any way to disable node movement when you are in an input or text area to select content, when you try to select, the node moves.

Thanks in advance!

jerosoler commented 10 months ago

Try:

editor.draggable_inputs = false;
gabrielayer commented 10 months ago

Perfect! Thanks a lot Jero!