Repository navigation
Settle the live-sample scrolling report and the panel's selected-words follow-up - #3340
Merged
Merged
Conversation
…s follow-up **Live samples.** TODO's "Unconfirmed: scrolling a live sample sometimes sticks" asked for a check that the report no longer reproduces now that a sample's frame takes its page's height. `leaf-dev probe` measured every framed sample on feature-gallery, thread-panel-gallery, diff-thread-gallery, docs/threads.html and docs/event-log.html, in Chromium and Firefox, at 1440x900 and at phone width (Chromium under touch, Firefox at 390x844). Each block sample's frame is its page's height plus the 2px border (scrollHeight equals clientHeight inside), and a wheel or a touch scroll over it moves the outer page by the full step. Playwright's Firefox lost track of the gallery's later frames, which a screenshot shows drawn, so Firefox covers 13 samples. A window sample keeps its fixed height by design. One, the gallery's `bg-thread-api-sample`, holds a page taller than its window (848px in 673px), so a wheel scrolls it first and then the outer page. Chromium moved on at the next step. Firefox kept sending the wheel to the frame for about 1.5 s after the sample's page last scrolled, so a continuous wheel stops there until the user pauses. It does the same over a plain `overflow: auto` box with no frame and no sample, so the latch is Firefox's own wheel handling rather than anything Leaf does. The item goes. **Floating panel.** The note's one follow-up, comments on selected words going through the anchored comment box rather than the panel's field, is settled by #3275: where no box opens beside the words, the field quotes them and a press opens the box on them. The note records that, and TODO #28 says its list is empty and it waits on the user's review of the desktop design. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 20, 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.
Removes TODO's "Unconfirmed: scrolling a live sample sometimes sticks" after running the check it asked for, and brings the floating panel's goal note and TODO #28 up to date with #3275.
Live samples.
leaf-dev probemeasured every framed sample on feature-gallery, thread-panel-gallery, diff-thread-gallery, docs/threads.html and docs/event-log.html, in Chromium and Firefox, at 1440x900 and at phone width (Chromium under touch, Firefox at 390x844). Each block sample's frame is its page's height plus the 2px border (scrollHeight equals clientHeight inside), and a wheel or touch scroll over it moves the outer page by the full step. Playwright's Firefox lost track of the gallery's later frames, which a screenshot shows drawn, so Firefox covers 13 samples.A window sample keeps its fixed height by design. One,
bg-thread-api-sample, holds a page taller than its window (848px in 673px), so a wheel scrolls it first and then the outer page. Chromium moved on at the next step. Firefox kept sending the wheel to the frame for about 1.5 s after the sample's page last scrolled, so a continuous wheel stops there until the user pauses. It does the same over a plainoverflow: autobox with no frame and no sample, so this is Firefox's own wheel handling rather than anything Leaf does.Floating panel. The note's one follow-up, comments on selected words going through the anchored comment box rather than the panel's field, is settled by #3275: where no box opens beside the words, the field quotes them and a press opens the box on them. TODO #28 now says its list is empty and that it waits on the user's review of the desktop design.