Fix connection lines via DOM position sync (rAF)

Otherkamo-internal
Shipped
February 3, 2026 at 12:07 AM UTC
Author
kamo
Commit
03a602d

- Read node positions from DOM every frame so lines stay attached when source or destination task items are dragged - Remove liveDragPosition; use nodePositionsRef + requestAnimationFrame - Add itemsRef and stable effect deps so rAF loop does not restart on every drag - Smooth path transition (0.12s ease-out, translateZ(0))

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing