Our flexible Kanban board for managing tasks with drag drop


Post by jhughesoneplan »

I get the following error when adding then dragging an item:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'closest')
at ey.resolveTaskItem (taskboard.umd.min.js:13)
at mf.editTask (taskboard.umd.min.js:13)
at ey.addTask (taskboard.umd.min.js:13)

Steps to repro

  • use autosync and sync where it sends in PhantomId and returns a real ID.

  • Add an item using the + in the column

  • Try to drag the item once it has been added


Post by alex.l »

Hi jhughesoneplan,

Could you please attach a runnable test case to reproduce it? I tried to play with our online examples and see no errors. Are you able to reproduce in with our examples?

All the best,
Alex


Post by jhughesoneplan »

I would have to set a basic one up. It is specific to using phatomids and then returning a real id. If you turn off autosync it works. Also I just found that turning off useDomTransition allows it to work as well.


Post by alex.l »

Ok, thanks! Just post it here when it's ready, we will check what is wrong.

All the best,
Alex


Post Reply