SortableJS/jquery-sortablejs

Uncaught TypeError: Cannot use 'in' operator to search for '#<Object>' in undefined

bretrzaun opened this issue · 1 comments

When using this call:

$(listId).sortable({
    handle : '.sortablehandle',
    onChange: function() {
        //...
    }
});

I am getting the following error in jquery-sortable.js:68:

Uncaught TypeError: Cannot use 'in' operator to search for '#<Object>' in undefined

I am using this versions:

  • "jquery": "^3.4.1",
  • "jquery-sortablejs": "^1.0.1",
  • "sortablejs": "^1.10.2",

Im getting too :-( forcing me to use native Sortable instead