Skip to content

Fix log panel not auto-scrolling to bottom#599

Merged
leszko merged 1 commit intomainfrom
emran/log-panel-scroll-to-bottom-fix
Mar 6, 2026
Merged

Fix log panel not auto-scrolling to bottom#599
leszko merged 1 commit intomainfrom
emran/log-panel-scroll-to-bottom-fix

Conversation

@emranemran
Copy link
Copy Markdown
Contributor

Log panel now auto-scrolls to the latest log entry when opened and when new logs arrive.
Uses a sentinel element with scrollIntoView for reliable scrolling behavior.

Use a sentinel div with scrollIntoView instead of setting scrollTop
directly, and add isOpen/filter to effect dependencies so the panel
scrolls to the latest logs when first opened or when switching filters.

Signed-off-by: Emran M <[email protected]>
Signed-off-by: emranemran <[email protected]>
@emranemran emranemran requested review from mjh1 and thomshutt March 6, 2026 06:09
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

🚀 fal.ai Preview Deployment

App ID daydream/scope-pr-599--preview
WebSocket wss://fal.run/daydream/scope-pr-599--preview/ws
Commit 6ad870b

Testing

Connect to this preview deployment by running this on your branch:

uv run build && SCOPE_CLOUD_APP_ID="daydream/scope-pr-599--preview/ws" uv run daydream-scope

🧪 E2E tests will run automatically against this deployment.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

✅ E2E Tests passed

Status passed
fal App daydream/scope-pr-599--preview
Run View logs

Test Artifacts

Check the workflow run for screenshots.

@leszko leszko merged commit 664ac38 into main Mar 6, 2026
9 checks passed
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