Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, it is not impossible to prevent event propagation in vuedraggable. You can use the v-on:click.stop or v-on:drag.stop directive to stop the event propagation. For example, if you want to prevent the click event from propagating to the parent element, you can use the v-on:click.stop directive as follows:

<div v-on:click.stop>
  <draggable>
    ...
  </draggable>
</div>

This will prevent the click event from propagating beyond the draggable element. Similarly, you can use the v-on:drag.stop directive to prevent the drag event from propagating to the parent element.