Fix connection lines during drag and after drop

Otherkamo-internal
관련 상품
2026년 2월 3일 오전 12:16 UTC
이름 *
kamo
뚱 베어
89e89e2

- Use uncontrolled Draggable (defaultPosition, no position) so DOM updates every frame during drag; sync state only on onStop - Store node positions in state (nodePositions) updated every frame in rAF so lines re-render and stay attached to source and destination - Store width/height from getBoundingClientRect; use height/2 for line end so lines hit vertical center of target card - Compute connection offset from DOM position when starting a connection so alignment is correct after items have been moved

모든 변경 사항

배송을 보는 것과 같이?

작업 공간의 모든 업데이트 땅은 자동으로. 일주일 후 무료로 시청하십시오.

무료 영원히 시작가격 비교