Skip to content

Follow a bounded document's end when its tab opens - #3740

Merged
leaf-agent merged 3 commits into
mainfrom
fix/ci-39930571983-document-follow
Oct 23, 2026
Merged

leaf-agent merged 3 commits into
mainfrom
fix/ci-39930571983-document-follow

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

A document Source tab with data-bound="end" can open at scroll position zero and never move to its newest line. The bound watcher reads content and size changes, but a tab panel can change its own hidden attribute without changing its box size. Watch that attribute on the bounded element and sync its reading when it becomes visible; ignore hidden changes in descendants, which do not change this bound's visibility.

test_a_document_source_follows_appends_only_while_its_reader_is_at_the_end timed out on current main, matching run 39930571983, and passed after the change. test_logs_in_a_hidden_tab_open_on_their_newest_entries also passed, including its check that hidden logs are not styled or measured. The runtime suite passed (533), as did pnpm run check. The committed kernel was rebuilt.

@leaf-agent
leaf-agent merged commit 80dff40 into main Oct 23, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39930571983-document-follow branch October 23, 2026 11:32
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.

1 participant