mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 21:39:54 +02:00
The useEffect that scrolls to and highlights a comment had timeline.length in its dependency array. When a new reply was posted, timeline.length changed, re-triggering the scroll and highlight animation. Added a ref to track whether we've already highlighted for the current highlightCommentId so it only fires once.