Skip to content

Settle the live-sample scrolling report and the panel's selected-words follow-up - #3340

Merged
max-sixty merged 2 commits into
mainfrom
agent-a579c8b52438b9135
Oct 20, 2026
Merged

max-sixty merged 2 commits into
mainfrom
agent-a579c8b52438b9135

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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 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 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 plain overflow: auto box 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.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 2 commits October 20, 2026 07:50
…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]>
@max-sixty
max-sixty merged commit 71b4103 into main Oct 20, 2026
3 checks passed
@max-sixty
max-sixty deleted the agent-a579c8b52438b9135 branch October 20, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants