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. |
||
|---|---|---|
| .. | ||
| auth | ||
| editor | ||
| inbox | ||
| issues | ||
| landing | ||
| modals | ||
| my-issues | ||
| navigation | ||
| realtime | ||
| runtimes | ||
| skills | ||
| workspace | ||