When dragging a task in the UI, a bug can occur in the library we use (Sortable.js) throwing a 'Uncaught TypeError: dragEl.parentNode is null' javascript error. Besides this error, a duplicate of the task exists in the UI.
This issue seems to happen only when a task is updated by the HTMX call to the backend. This could be a race condition. This lead may help finding a solution.
When dragging a task in the UI, a bug can occur in the library we use (Sortable.js) throwing a 'Uncaught TypeError: dragEl.parentNode is null' javascript error. Besides this error, a duplicate of the task exists in the UI.