/design: a click anywhere scrolls the page down to the last search preview #1108

Closed
opened 2026-10-05 19:18:58 +00:00 by claude-bot · 1 comment
Collaborator

From the owner's re-check on dev (v4.5.0-rc8, Q125, follow-up to #980 item 1): "Clicking on anything on the /design page now skips me most of the way down the page."

Cause

Two changes meet on that page:

  • #1020: each Search still on /design draws a fresh Search after any press outside it, so its panel stays open.
  • #1033: a Search brings its panel into view (scrollIntoView) when it opens and when its answer arrives.

A freshly drawn still mounts open, so every press on the page made every Search still scroll itself into view, and the last one won.

Fix

The panel is brought into view only when focus is inside that search (the reader is using it). The bar's box and the wiki's own box behave as before; a search drawn already open leaves the page alone.

/setup now goes to /admin for the owner on dev (#980 item 4 confirmed).

From the owner's re-check on dev (v4.5.0-rc8, Q125, follow-up to #980 item 1): "Clicking on anything on the /design page now skips me most of the way down the page." ## Cause Two changes meet on that page: - #1020: each Search still on `/design` draws a fresh Search after any press outside it, so its panel stays open. - #1033: a Search brings its panel into view (`scrollIntoView`) when it opens and when its answer arrives. A freshly drawn still mounts open, so every press on the page made every Search still scroll itself into view, and the last one won. ## Fix The panel is brought into view only when focus is inside that search (the reader is using it). The bar's box and the wiki's own box behave as before; a search drawn already open leaves the page alone. `/setup` now goes to `/admin` for the owner on dev (#980 item 4 confirmed).
Author
Collaborator

Fixed in PR #1109, merged as b4041de1 with CI green (14 checks). A search brings its panel into view only when focus is inside it; a test covers a search drawn already open. It reaches dev with the next prerelease (rc9), where the owner can re-check /design.

Fixed in PR #1109, merged as b4041de1 with CI green (14 checks). A search brings its panel into view only when focus is inside it; a test covers a search drawn already open. It reaches dev with the next prerelease (rc9), where the owner can re-check /design.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rbrooks/Quest-Board#1108
No description provided.