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

Moving from a list to another #25

Open
vitobotta opened this issue Nov 5, 2016 · 7 comments
Open

Moving from a list to another #25

vitobotta opened this issue Nov 5, 2016 · 7 comments

Comments

@vitobotta
Copy link

Hi, I'm using this in a project and it's cool - thanks! I'm having a problem though when moving an item from a list to another where the drag and drop works fine, but the underlying Vue data is not updated accordingly. If I reorder items within the same list instead, the Vue data is updated automatically as I can see with the Chrome dev tools.

Any idea? Thanks in advance.

@vitobotta
Copy link
Author

Dunno if it's useful but here's a fiddle: https://jsfiddle.net/vitobotta/1Lu8yja4/13/

For some reason the Vue Chrome extension doesn't work when I have JSFiddle open and the console seems to suggest that data doesn't get updated even when reordering within the same list. Not sure what I am missing....

@Astray-git
Copy link
Owner

Well, the current version doesn't work well with vuejs 2.0. I'm planning for a rewrite.

@vitobotta
Copy link
Author

Hi @Astray-git , thanks. I am trying to use Dragula directly now but I really look forward to a new version of this plugin!

@kristianmandrup
Copy link

Please update for Vue2 ASAP Thanks!!! :)

@kristianmandrup
Copy link

@vitobotta Please help porting to Vue2 ;)

@vitobotta
Copy link
Author

@kristianmandrup I wish I could but afraid my JS is not good enough for that :-/

@kristianmandrup
Copy link

@vitobotta I got it working here...

#26
See demo here: https://github.com/kristianmandrup/vue2-dragula-demo/

But suddenly it stopped working for me locally!
I'm too tired now. Will work more on it tmrw.

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