alyssaxuu / flowy

The minimal javascript library to create flowcharts ✨
MIT License
11.48k stars 998 forks source link

Prevent Drag on Click #59

Open pilootchoum opened 4 years ago

pilootchoum commented 4 years ago

Hello,

I know this is already related to one issue, regarding minor moves. The thing is, Im having kind of the same issue, which cannot exactly be fixed with the onRearrange function.

Is there a simple way to prevent the dragging behaviour of any block, when clicking on one element of the block?

Regards

alyssaxuu commented 4 years ago

I see how that can be useful. There is no way to prevent that currently, I will certainly add this in the next release since I think it's an important feature.

loralll0 commented 2 years ago

@alyssaxuu Is there a way so I can prevent draging a block from clicking it and allow dragging it from canvas. I mean to keep clicked on canvas and to move the other blocks, like is right now but not when you are clicking on the block but on canvas.

Thank you! Best regards