anish2690 / vue-draggable-next

Vue 3 drag-and-drop component
https://vue-draggable-next.vercel.app
MIT License
508 stars 45 forks source link

Issues in Drag and Drop #34

Open MuthuSelviC opened 2 years ago

MuthuSelviC commented 2 years ago

image Getting this error, while dragging the elements.

    <draggable
        class="q-pa-sm container"
        :list="items"
        item-key="name"
        :style="grid"
        ghost-class="ghost"
        :move="handleMove"
        @end="handleDragEnd"
    >
        <div
            class="list-group-item"
            :class="{ 'not-move': element.static,cell:element.i}"
            v-for="element in items"
            :key="element.i"
        >
            <span :class="`rotate-${element.screenRotation}`">{{ element.i }}</span>
        </div>
    </drggable> 
anish2690 commented 1 year ago

@MuthuSelviC looks like a code error, can you share the full code