Our flexible Kanban board for managing tasks with drag drop


Post by staffanwe »

Hello! I' having trouble with a scenario where i programatically adds a task when i have the simpleEdit feature enabled. I am using the Bryntum TaskBoard for Vue3 version 7.1.1. The scenario is a little bit special, because it begins with the Taskboard hidden. With display:none. I do this when i toggle between a custom list view and the board.

This can be reproduced in the simple task edit demo https://bryntum.com/products/taskboard/examples/simple-task-edit/

Do the following to reproduce:

In the console

document.getElementById('b-taskboard-1').style.display = 'none'
let column = taskboard.columns.getById('review')
taskboard.addTask(column, null, {name: 'New task'})
document.getElementById('b-taskboard-1').style.display = 'block'

Then we get the following error

taskboard.module.js?491842:324 Uncaught TypeError: Cannot read properties of undefined (reading 'isRectangle')
    at _Rectangle.equals (taskboard.module.js?491842:324:116591)
    at Editor.doHideOrRealign [as doHideOrRealignNow] (taskboard.module.js?491842:324:1077285)
    at Editor.q (taskboard.module.js?491842:324:149977)
    at c.<computed> (taskboard.module.js?491842:324:138851)
    at taskboard.module.js?491842:324:145269

Post by tasnim »

Thanks for your report. We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/12663

Best regards,
Tasnim

How to ask for help? Please read our Support Policy


Post Reply