GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — fix(web): scroll-to-end button no longer jumps up and down by t3dotgg · Pull Request #26375 · pingdotgg/t3code Conversation
Member
The "Scroll to end" button kept jumping up and down while you were scrolled up in a thread. The timeline's list ref callback re-ran on every render. Its cleanup reports "content fits" for one frame, and the real measure comes back one frame later. The composer uses that value to pick its resting layout. So it flipped between resting and expanded (110px and 147.5px), the button's The fix wraps the ref callback in Proof: I reproduced it in a dev build. The button moved 8 times in 8 seconds before the fix and 0 times after. Scroll to end and thread switching still work. A new browser test fails on Reviewed with sol-loop: 1 round with GPT-6.1 Sol. Sol verdict: approved Created with Claude Opus 5.5 in Claude Code. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
The timeline's list ref callback re-ran on every render. Its cleanup reported that the content fits for one frame, which flipped the resting composer, moved the button, and re-rendered the timeline again. A stable ref callback attaches the list once per mount. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
This was referenced
2 tasks done
2 tasks done
Pipyakas
pushed a commit
to Pipyakas/t3code
that referenced
this pull request
…#26375) Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit c677d5f)
19 tasks done
incognitojam
pushed a commit
to incognitojam/styal
that referenced
this pull request
…#26375) Co-authored-by: Claude Opus 5.5 <[email protected]> Fork adaptation: The patch is upstream's. Its new browser test conflicted only because its context included an upstream timeline heading test the fork does not have yet, so the test sits after the fork's preceding test instead. (cherry picked from commit c677d5f) Upstream-PR: 26375 Early-Import: fixes the Scroll to end button oscillation that pingdotgg#25463 introduces
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
size:XS
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |