-
Notifications
You must be signed in to change notification settings - Fork 215
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
Problem with an Ember js object and Slip.js #67
Comments
If I remember correctly I was assuming that |
zequeira
changed the title
Problem with and Ember js object and Slip.js
Problem with an Ember js object and Slip.js
Apr 17, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, very nice plugin btw.
I'm using it on an Ember JS application for Drag & Drop dynamic
div
elements that reflects an Ember js object.I face the problem that when taking the first element on the list for putting it as the last element, then the element was duplicated. I found out that your function for "reorder":
when taking any element of the list to move it as last element,
e.detail.insertBefore = null
and it seems that insertBefore do not handle that situation properly, so I need it to implemented this way:don't know if it's the best approach but I think you should take a look at what is happening when
e.detail.insertBefore = null
.Best ;)
The text was updated successfully, but these errors were encountered: