vue-draggable-resizable
vue-draggable-resizable copied to clipboard
The element is added inside the component, and the click event of the element triggers the dragstop method of the element. How to avoid bubbling or default event
<vue-draggable-resizable v-for="(item2, index) in fastMenuList" :key="index" :w="80" :h="80" :min-width="80" :min-height="80" :y="Number(item2.position.split(',')[1])" :x="Number(item2.position.split(',')[0])" :z="index + 1041" :outline='false' :resizable="false" :snap='true' :isConflictCheck='true' :snap-tolerance="20" class-name="vdr" class-name-dragging="draggingClass" parent=".nav-conts" :preventActiveBehavior='true' :maximize="true" @dragstop="(left,top)=>onDragStop(item2.id, left, top)" >