Skip to content

CL-5788: Reset main scroll on route change - #24

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-5788-web-polish-sweep-consistent-empty-states-controls-and-small
Aug 9, 2026
Merged

CL-5788: Reset main scroll on route change#24
TheGreatAxios merged 1 commit into
mainfrom
cl-5788-web-polish-sweep-consistent-empty-states-controls-and-small

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Main pane scroll resets to top on every path change (useScrollReset)
  • Agents copy-address button clears its confirmation timer on unmount

Test plan

  • bun run --cwd apps/web test (includes use-scroll-reset)
  • bun run --cwd apps/web typecheck
  • bun run --cwd apps/web build

Linear: CL-5788

Navigating between pages left the main pane scrolled wherever the
previous page stopped. The shell now zeros scrollTop on path change,
and the agents copy-address button clears its confirmation timer on
unmount so it cannot setState after the button is gone.
@TheGreatAxios
TheGreatAxios force-pushed the cl-5788-web-polish-sweep-consistent-empty-states-controls-and-small branch from b80e0c5 to 7d64aca Compare August 9, 2026 17:46
@TheGreatAxios
TheGreatAxios merged commit 1d670a6 into main Aug 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant