riktar / jkanban

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

AddForm is dragable #25

Closed bazzacad closed 5 years ago

bazzacad commented 5 years ago

If I run the example page & hit the + button to call the "AddForm" option, the form is dragable

image

marcosrocha85 commented 5 years ago

@riktar We can solve that by adding form at footer instead of board itself.

this.addForm = function (boardID, formItem) {
    var board = self.element.querySelector('[data-id="' + boardID + '"] footer'); // was .kanban-drag
    board.appendChild(formItem);
    return self;
};
riktar commented 5 years ago

resolved in #27