fix(frontend): a click on /design no longer scrolls the page (#1108) #1109

Merged
claude-bot merged 1 commit from fix/design-page-click-jump into main 2026-10-05 19:56:39 +00:00
Collaborator

Closes #1108.

Every press on /design redraws the Search stills (#1020), and each one scrolled its panel into view on mount (#1033), so the page jumped to the last of them. A search now brings its panel into view only when focus is inside it.

  • ui/Search/index.jsx: the focus check.
  • Search.test.jsx: a search drawn already open, with the reader elsewhere, does not scroll. The existing test (typing opens it and scrolls) is unchanged.

Not run locally; CI's frontend shards are the check.

🤖 Generated with Claude Code

Closes #1108. Every press on `/design` redraws the Search stills (#1020), and each one scrolled its panel into view on mount (#1033), so the page jumped to the last of them. A search now brings its panel into view only when focus is inside it. - `ui/Search/index.jsx`: the focus check. - `Search.test.jsx`: a search drawn already open, with the reader elsewhere, does not scroll. The existing test (typing opens it and scrolls) is unchanged. Not run locally; CI's frontend shards are the check. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(frontend): a search drawn already open leaves the page where it is (#1108)
All checks were successful
CI / Backend lint (ruff) (pull_request) Successful in 32s
CI / Does this change touch the recording path? (pull_request) Successful in 17s
CI / Synthetic session harness (no GPU, no LLM) (pull_request) Has been skipped
CI / Summarisation accuracy eval harness (stub provider) (pull_request) Successful in 1m3s
CI / Bot/backend version sync (pull_request) Successful in 29s
CI / Feedback site tests (pull_request) Successful in 46s
CI / Bot tests and audit (pull_request) Successful in 2m4s
CI / Docker image build (pull_request) Successful in 4m38s
CI / Frontend (shard 2/2) (pull_request) Successful in 9m1s
CI / Frontend (shard 1/2) (pull_request) Successful in 10m59s
CI / End-to-end journeys (phone) (pull_request) Successful in 13m9s
CI / End-to-end journeys (keyboard) (pull_request) Successful in 14m29s
CI / End-to-end journeys (desktop) (pull_request) Successful in 15m4s
CI / Backend migration, tests, and audit (pull_request) Successful in 37m2s
5a1ca9e23c
Every press on /design redrew the Search stills, and each scrolled its
panel into view on mount. The panel is now brought into view only when
focus is inside that search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude-bot deleted branch fix/design-page-click-jump 2026-10-05 19:56:40 +00:00
Sign in to join this conversation.
No description provided.