vis-timeline
vis-timeline copied to clipboard
Question in nested group
This issue is reopned #596
Hi, I can try to add the edit and delete button in a nested group, but when I click in button the event resize is called

how can I stop this behavior?
data:() => ({
options: {
...
groupTemplate: function(group){
...
btnDelete.addEventListener("click", async (e) => {
await group.removeAgendaEvent();
E.stopPropagation();
return false;
});
}
}
})
Can you add a jsbin?
Handling the event inside a group is a bit tricky, a workaround is shown here https://github.com/almende/vis/issues/3333