The inline Log tab uses .tab-pane (height:18rem, overflow:auto) as its scroll container. .log-stream has overflow:auto too but max-height:none in tab-pane context, so it grows to fit and scrollHeight === clientHeight — setting scrollTop on the <pre> was a no-op. scrollAutoscrollTargets now walks up from each [data-autoscroll] target until it finds an element whose CSS allows scrolling AND whose content is actually overflowing (scrollHeight > clientHeight). sse.js delegates to the same helper so per-line log appends scroll the right container. e2e: new test asserts the .tab-pane is pinned to its bottom after 200 log lines are injected and the helper runs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_editor.py | ||
| test_files_overlay.py | ||
| test_overlays_create.py | ||
| test_server_detail.py | ||
| test_smoke.py | ||
| test_workshop_section.py | ||