Kanban: drop-target highlight sticks on columns after drop #113
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dragging a task across columns leaves every traversed column with the blue dashed drop-target border burnt in. The highlight is never cleared — even after dropping on a column or leaving the board, every column the cursor passed over stays highlighted until the next full re-render.
Two root causes:
is_drag_over: Signal<bool>cannot be cleared reliably — HTML5ondragleavefires when the cursor crosses child nodes inside the same column, so the signal flips false-true-false rapidly and often ends up stuck true.2px dashed #007AFF) while the inactive branch usesvar(--color-border, …). Dioxus 0.7's inline-style diff drops updates when a style attribute transitions between a literal and a value containingvar(...), so the DOM keeps the last literal forever.