I have a little issue, but i'm not sure why i can't reproduce it in http://rubaxa.github.io/Sortable/ ..
When I just click my drag handle, sortable stops working.
I spent my entire day debugging this, and I noticed Sortable.active is null or undefined when the nulling function executes. But this only happens when I click the element. As a result of this, values like dragEl are not cleared, and because of this it's not longer possible to drag.
I changed the code to this, and now I no longer have an issue.
_nulling: function ()
{
if (Sortable.active === this || !Sortable.active)
{
Not really sure why I can't reproduce this in the page above though.
I really like Sortable, by the way.. hands down the best drag&drop library I ever encountered.
Not sure if this is a correct fix, though..
I had the same issue, but it was from any click on the element, not just the handle, and this change fixed it.
Hello, can you precise at what line of what file did you change the code? Thanks for your help ^^
@FloJess The above function is at line 826 of the master branch (Sortable.js), with the changed line being 827.
Thanks @bramdebouvere for your fix. I was having the same issue and couldn't figure out what was causing it.
Please implement this simple fix, it solves all my problems as well of Sortable being disabled after a simple click
It solved my problem too, thanks !
I also have this problem and the patch provided works great!
Please merge pull request #924 so that everyone can benefit from this fix =)
solution worked for me too. 100% worth applying it to the lib.
Thanks worked here too!
Most helpful comment
@FloJess The above function is at line 826 of the master branch (Sortable.js), with the changed line being 827.