-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Problems when one of the lists is empty #18
Comments
Hi, I have exactly the same problem. |
Yes, strange problem try to solve it for this week. |
The problem arises if you do not specify an option draggable. |
It's good! thank you. |
specifying the draggable option fixed the problem for me too. Thank you! |
…wobits * commit '008b9cd96d346906ab5cdd8cf0a1b1f1b01b28e4': SortableJS#44: Support SVG Disable 'draggable' attribute on drop. Add component config * fixed SortableJS#28 SortableJS#26: + supportIEdnd SortableJS#24: + _ghostInBottom v0.1.7: * draggable (SortableJS#18) unbind all element events on destroy Added CommonJS support Adding IE9 support for draggable elements that are not <a> or <img> updating version to 0.1.6 0.1.6 forcing removal of draggable attribute on destroy SortableJS#11: + can i use... Conflicts: Sortable.js
Hi! As you can see I have set the draggable option as well as the handle option. Moving Items from one of the source lists to the first list works good. After first sorting action (inside the first list) everything stops working. I tried both: master and dev branch. Same behavior. Any hint would be helpfull. Maybe I have some missconfiguration? |
@chrizz1001 Did you manage to resolve this issue? I'm also experiencing some strange behaviour when trying to drag between empty lists. |
@chrizz1001 and @MECLab-Keags I've found that applying a css style of 'min-height' will help allow you to add to empty lists, see the jsfiddle here: https://jsfiddle.net/8e52q8ya/ |
I solved this by replacing the I did not figure out what specifying a "draggable option" means, respectively it didn't work. |
Hi!
This is a great sorting script, I am enjoying the efficiency so far.
One problem I've run into is when I start out with one of the groups being empty. For example if I want to add items from one list to another and the second list is empty, I am able to only move one item and after that the script just quietly stops functioning for some reason.
No errors are displayed so I don't understand what the problem is.
Here's a JS fiddle with the scenario I'm talking about (the second group is empty at start): http://jsfiddle.net/msurguy/tQ6FL/
The text was updated successfully, but these errors were encountered: