Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiDrag dosent work #123

Open
Nemnon opened this issue Feb 10, 2022 · 3 comments
Open

multiDrag dosent work #123

Nemnon opened this issue Feb 10, 2022 · 3 comments

Comments

@Nemnon
Copy link

Nemnon commented Feb 10, 2022

<draggable v-model="tableData" tag="tbody" item-key="guid" :multiDrag="true" multiDragKey="ctrl">
<template #item="{ element }">
<tr>
<td>{{ element.id }}</td>
<td>{{ element.name }}</td>
<td>{{ element.sport }}</td>
</tr>
</template>
</draggable>

The lines are dragged, but when the key is released, only one line is moved in the end.

@david-mohr
Copy link

I've got a fork that supports multidrag (https://github.com/david-mohr/vue.draggable.next/tree/multidrag), if there's interest, I can put together a PR

@sadovsf
Copy link

sadovsf commented Apr 26, 2022

That would be great! I think many people would appreciate that a lot including me

@david-mohr
Copy link

@Nemnon @sadovsf multidrag support PR is here #153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants