I am currently working on creating a gallery that allows users to rearrange images. To test this functionality, I am using an array of numbers.
It is important that the gallery is responsive and displays as a single column on mobile devices.
The issue I am facing is that vue-draggable
only seems to work in a single column layout for me.
<template>
<div>
<v-row>
<v-col cols="4" :key="image" v-for="image in images">
<draggable>
<v-card>
<v-card-text>[[ image ]]</v-card-text>
</v-card>
</draggable>
</v-col>
</v-row>
</div>
</template>
Any suggestions on how to enable dragging and reordering of cards in this setup?