Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
uittenbroekrobbert opened this issue Jul 4, 2024 · 1 comment
Assignees

Comments

@uittenbroekrobbert
Copy link
Contributor

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 uittenbroekrobbert converted this from a draft issue Jul 4, 2024
@uittenbroekrobbert uittenbroekrobbert self-assigned this Jul 4, 2024
@uittenbroekrobbert uittenbroekrobbert changed the title Bug: Dragging a task in the UI can result in a visually duplicate task Dragging a task in the UI can result in a visually duplicate task Jul 4, 2024
@uittenbroekrobbert
Copy link
Contributor Author

uittenbroekrobbert commented Jul 4, 2024

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.

@uittenbroekrobbert uittenbroekrobbert linked a pull request Jul 11, 2024 that will close this issue
5 tasks
@robbertbos robbertbos moved this from 👷 In Progress to ✅ Done in 👾 AI Validation Team Planning Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant