MinBZK / tad

Transparency of Algorithmic Decision making
European Union Public License 1.2
1 stars 0 forks source link

Dragging a task in the UI can result in a visually duplicate task #77

Open uittenbroekrobbert opened 1 week ago

uittenbroekrobbert commented 1 week ago

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.

uittenbroekrobbert commented 1 week ago

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.