Repository navigation
fix(ui): keep the conversation start visible as rows measure - #199746
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
steipete
marked this pull request as ready for review
November 15, 2026 20:03
Contributor
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
steipete
enabled auto-merge (squash)
November 15, 2026 20:06
Contributor
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes chat jumping away from the beginning when an offscreen predecessor receives its first measured size after an upward scroll.
User Impact
Readers stay at the start of a conversation while image rows finish measuring. No migration or configuration change is required.
Why This Change Was Made
The native wheel reaches zero, but the transcript reader anchor subsequently compensates for a prepared predecessor and scrolls down 57 px. First measurements now respect an unowned native zero, matching the existing resize handling. Explicit restoration, prepend and interaction anchors retain ownership.
This is the root cause of the image navigation failure in scheduled CI 43746768156. The existing lightbox feature PR #198825 leaves this case and scroll owner unchanged.
Evidence
chat-image-lightbox.e2e.test.tscase “navigates inline, user, and assistant images across turns in transcript order”: reproduces 57 versus 0 on main; passes with the fix (2.3 s).pnpm tsgo:ui(tsrs), scoped lint, formatting and diff checks pass.bdbf30094ec879e410523f95294ff7ff4a9baa4cwith full owner and caller context: no actionable findings. Local ClawSweeper's built entrypoints were unavailable; hosted review follows the repository route.The change adds four production lines and one focused native regression, using the existing reader-anchor owner. E2E assertions, tolerances and timeouts are unchanged.
Before: the first image is clipped after the late 57 px scroll.
After: the native start remains visible as image measurements land.