{"action":"created","issue":{"url":"https://api.github.com/repos/RubaXa/Sortable/issues/591","labels_url":"https://api.github.com/repos/RubaXa/Sortable/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/RubaXa/Sortable/issues/591/comments","events_url":"https://api.github.com/repos/RubaXa/Sortable/issues/591/events","html_url":"https://github.com/RubaXa/Sortable/issues/591","id":110028309,"number":591,"title":"\"Placeholder\"","user":{"login":"knospe-","id":4748089,"avatar_url":"https://avatars.githubusercontent.com/u/4748089?v=3","gravatar_id":"","url":"https://api.github.com/users/knospe-","html_url":"https://github.com/knospe-","followers_url":"https://api.github.com/users/knospe-/followers","following_url":"https://api.github.com/users/knospe-/following{/other_user}","gists_url":"https://api.github.com/users/knospe-/gists{/gist_id}","starred_url":"https://api.github.com/users/knospe-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knospe-/subscriptions","organizations_url":"https://api.github.com/users/knospe-/orgs","repos_url":"https://api.github.com/users/knospe-/repos","events_url":"https://api.github.com/users/knospe-/events{/privacy}","received_events_url":"https://api.github.com/users/knospe-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T15:02:49Z","updated_at":"2015-10-08T08:54:23Z","closed_at":null,"body":"Hello,\r\n\r\nI have a question regarding \"placeholders\". Do I have to set some sort of group attribute to enable that the group has a placeholder in case all the items are removed from this group?\r\nI'm using <tbody> elements of one table as a group and \"tr\"s as group elements.\r\n\r\nFor example if I have two groups, A and B, and I can move items from one group to another. And if I move all items from group A to B, (group A is now empty) but than decide to move some items back from B to A, I cannot do this anymore. It is like that group A is not active anymore.\r\n\r\nI've created a JSFiddle that demonstrates this:\r\nhttp://jsfiddle.net/knospe/aqgfnx2b/2/\r\n\r\nWhen you move the element from \"EUR Warenkorb\" to \"Bonuspunkte Warenkorb\" you cannot add anything back to \"EUR Warenkorb\".\r\n\r\nMy solution for this would be adding a placeholder element, when the list is empty (-> checkSortableCart function). But then I have a problem that also this placeholder element should be of class .items and so it also could be moved to another list.\r\nI have noticed the same behaviour by the first example (List A, List B) at http://rubaxa.github.io/Sortable/\r\n\r\nFor some reason do groups in the second example \"Multi\" accept items after all the items have been removed from them.\r\n\r\nCould anyone please explain to me why the difference in behaviour of groups?"},"comment":{"url":"https://api.github.com/repos/RubaXa/Sortable/issues/comments/146462369","html_url":"https://github.com/RubaXa/Sortable/issues/591#issuecomment-146462369","issue_url":"https://api.github.com/repos/RubaXa/Sortable/issues/591","id":146462369,"user":{"login":"knospe-","id":4748089,"avatar_url":"https://avatars.githubusercontent.com/u/4748089?v=3","gravatar_id":"","url":"https://api.github.com/users/knospe-","html_url":"https://github.com/knospe-","followers_url":"https://api.github.com/users/knospe-/followers","following_url":"https://api.github.com/users/knospe-/following{/other_user}","gists_url":"https://api.github.com/users/knospe-/gists{/gist_id}","starred_url":"https://api.github.com/users/knospe-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knospe-/subscriptions","organizations_url":"https://api.github.com/users/knospe-/orgs","repos_url":"https://api.github.com/users/knospe-/repos","events_url":"https://api.github.com/users/knospe-/events{/privacy}","received_events_url":"https://api.github.com/users/knospe-/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T08:54:23Z","updated_at":"2015-10-08T08:54:23Z","body":"Tnx for the hint. However this is only possible, when an array's tbody is displayed as block. This changes the behaviour of a table. Is there any other possible solution?\r\n\r\nI have updated my JSFiddle\r\nhttp://jsfiddle.net/knospe/aqgfnx2b/4/"}}