Skip to content

log scrolling: check at-bottom before append, not after#44

Merged
SyntaxNyah merged 1 commit into
masterfrom
fix-ic-scrolling
May 31, 2026
Merged

log scrolling: check at-bottom before append, not after#44
SyntaxNyah merged 1 commit into
masterfrom
fix-ic-scrolling

Conversation

@OmniTroid
Copy link
Copy Markdown
Collaborator

The auto-scroll guard ran after the new entry was already in the DOM, so scrollHeight had grown by the message's own height. Any message taller than the threshold (120px IC/OOC, 60px modcall) failed the check and the log stopped following new messages once they wrapped past a few lines.

The auto-scroll guard ran after the new entry was already in the DOM, so
scrollHeight had grown by the message's own height. Any message taller
than the threshold (120px IC/OOC, 60px modcall) failed the check and the
log stopped following new messages once they wrapped past a few lines.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@SyntaxNyah
Copy link
Copy Markdown
Owner

oh my god finally this is fixed. I always hated this bug, god bless you.

@SyntaxNyah SyntaxNyah merged commit 1467ee3 into master May 31, 2026
1 check 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