Closed limuyao closed 5 years ago
Hi to all! Still study using Rete.js and return to the old question about prevent drag event: https://github.com/retejs/rete/issues/196
In alight you can stop an event propagation <input @mousedown.stop=""> In vue-render-plugin there is the same "stopPropagation"
In alight you can stop an event propagation
<input @mousedown.stop="">
In vue-render-plugin there is the same "stopPropagation"
The solution doesn't work with vue-render-plugin. I use <input @mousedown.stop=""> but still can drag a node
Since v1.1.0 a mouse events was changed with pointer events. Solution:
@pointermove.stop=""
Thank you Ni55aN! The @pointerdown.stop is working for me
@pointerdown.stop
Hi to all! Still study using Rete.js and return to the old question about prevent drag event: https://github.com/retejs/rete/issues/196
The solution doesn't work with vue-render-plugin. I use
<input @mousedown.stop="">
but still can drag a node