You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to have three lists, one, two, and central. You can rearrange items between lists but you cannot have more than 5 items or less than one in one and two. I used a put/pull function to handle this, but it doesn't work and I don't know what I'm doing wrong.
Inspect foo list and you will see ghost elements with display: none of the elements you dragged before. Then, as there are 5 items, you cannot drag into the list.
You can see this in your own advanced usage of group fiddle: http://jsbin.com/rusuvot/edit?js,output Just inspect qux and drag to that list. Then drag outside. A ghost item is kept there.
The text was updated successfully, but these errors were encountered:
pedroadame
changed the title
Bug? Pull function doesn't work properly with from.el.children.length
Bug: When dragging between lists, shadow element is kept in lists.
Apr 19, 2017
pedroadame
changed the title
Bug: When dragging between lists, shadow element is kept in lists.
Bug: When dragging between lists, a shadow element is kept in the pulled list.
Apr 19, 2017
I want to have three lists,
one
,two
, andcentral
. You can rearrange items between lists but you cannot have more than 5 items or less than one inone
andtwo
. I used a put/pull function to handle this, but it doesn't work and I don't know what I'm doing wrong.JSFiddle: http://jsbin.com/juwicom/4/edit?html,js,console,output
Steps to reproduce:
One 2
andOne 3
to theTwo X
list.One 1
intoTwo X
list because it is the last item of its list -- OKCentral 1
intoTwo X
list becauseTwo X
list already contains 5 items. -- OKOne 2
andOne 3
again to theOne 1
list.One X
list orTwo X
list, including theCentral 1
item.One X
orTwo X
tocentral
list, you cannot redrag it to the original list.This is the function I used in the
pull
option forgroupone
andgrouptwo
in the fiddle:Is my function wrong? @RubaXa
Update
foo
list and you will see ghost elements withdisplay: none
of the elements you dragged before. Then, as there are 5 items, you cannot drag into the list.You can see this in your own
advanced usage of group
fiddle: http://jsbin.com/rusuvot/edit?js,output Just inspectqux
and drag to that list. Then drag outside. A ghost item is kept there.The text was updated successfully, but these errors were encountered: