vue-draggable-resizable icon indicating copy to clipboard operation
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

Open Jing198 opened this issue 5 years ago • 0 comments

<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)" >

Jing198 avatar Jan 02 '20 06:01 Jing198