riktar / jkanban

Vanilla Javascript plugin for manage kanban boards
https://www.riccardotartaglia.it/jkanban/
Apache License 2.0
1.09k stars 300 forks source link

Drag & Drop between multiple jKanban #125

Closed databird closed 3 years ago

databird commented 3 years ago

Hello,

When trying to move kanban's item between 2 kanban it's not possible :-(

We got this error :

Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. 
     at HTMLHtmlElement.drag (jkanban.js:1215:18)

HTML :

<div id="kanban1"></div>
<div id="kanban2"></div>

JS

k1 = new jKanban({ element : '#kanban1',  .....
k2 = new jKanban({ element : '#kanban2',  .....

k1.addBoards([{
  'id' : 'k1-col1',
  'title' : 'K1::Column 1,
}]);
k2.addBoards([{
  'id' : 'k2-col1',
  'title' : 'K2::Column 1,
}]);

var elem = {
  'id': '1234',
  'title': 'Test',
};
k1.addElement('k1-col1', elem);

Try to move element from k1 to k2...

Please help (we can also discuss about paying support) ;-)

Many thanks in advance

xscode-auto-reply[bot] commented 3 years ago

Thanks for opening a new issue. The team has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/riktar/jkanban

databird commented 3 years ago

If someone want to improve that point, I can pay for it - please contact me infoATdatabirdDOTch

marcosrocha85 commented 3 years ago

You can hire here: https://xscode.com/riktar/jkanban