From 2b07291e17856a2b014537542f79cc8c059487c9 Mon Sep 17 00:00:00 2001 From: adamelmore <2363879+adamdottv@users.noreply.github.com> Date: Sun, 25 Jan 2026 07:58:24 -0600 Subject: fix(app): scroll to comment on click --- packages/ui/src/components/session-review.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/ui/src/components') diff --git a/packages/ui/src/components/session-review.tsx b/packages/ui/src/components/session-review.tsx index 42c0bc2aa..60ac0d516 100644 --- a/packages/ui/src/components/session-review.tsx +++ b/packages/ui/src/components/session-review.tsx @@ -238,7 +238,7 @@ export const SessionReview = (props: SessionReviewProps) => { const target = ready ? anchor : anchors.get(focus.file) if (!target) { - if (attempt >= 24) return + if (attempt >= 120) return requestAnimationFrame(() => scrollTo(attempt + 1)) return } @@ -250,7 +250,7 @@ export const SessionReview = (props: SessionReviewProps) => { root.scrollTop = Math.max(0, next) if (ready) return - if (attempt >= 24) return + if (attempt >= 120) return requestAnimationFrame(() => scrollTo(attempt + 1)) } -- cgit v1.2.3