You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: The Desktop App chat scrollbar no longer follows the chat when new messages are displayed #42777
IT was working fine a week ago or so. Now I have to continuously scroll down to see the next message sent by the agent or myself. This is very annoying especially when there are "Allow" buttons to click. You can not know this for ages if you don't scroll to the end of the chat when the messages grow past the bottom of the page.
Steps to Reproduce
!. open the Desktop Chat.
2. Open a long enough chat or make your browser small enough that the chat continues beyond.
3. send a message and watch it disappear off the bottom of the screen as the LLM continues to work.
Expected Behavior
Chat should always be at the bottom of the chat if I scroll down there. If I choose to scroll up it should not reset as I'm likely looking at something, but If it's sitting at the very bottom waiting for the next response it should be autoscrolling with each message received. It actually did this before so..?
Actual Behavior
Pretty sure there's no error, It probably happened when trying to fix the bug others were complaining aboout where it randomly scrolled up a few pixels.
+1 Same issue here on Windows 10 with Hermes Desktop v0.15.1. When the agent streams a long response, the chat does not auto-scroll to the bottom. I have to manually scroll down continuously to see the latest output. The scrollbar stays where it was before the response started. This happens on every turn, not just occasionally. Let me know if you need any logs or a screen recording.
Start a longer-running session that streams tool calls / thinking / status updates.
Leave the session at the bottom while output continues.
Return after more output has streamed.
Actual behavior
The tool calls and streamed text continue below the visible viewport, but the chat/session window does not stay pinned to the newest output. I have to manually scroll down to find the latest activity.
Expected behavior
If the user is already at or near the bottom, the chat view should keep following new streamed output. If the user manually scrolls upward, auto-scroll should pause until they return to the bottom.
No crash or traceback observed; this appears to be a Desktop UI scroll anchoring / auto-scroll regression. I’m not attaching logs or screenshots because they contain private local paths and conversation content, but the visible behavior matches this report.
Yup.. driving me crazy, it will not auto-scroll when the bar is at the bottom already. Tried different window sizes and various settings, seems like a bug.
It seems like someone requested that this was removed... lol what happens when too many people all want "their" functionality. I found these comments in the code:
// Intentionally NO streaming auto-follow. Earlier builds ran a
// ResizeObserver here that re-pinned the viewport to the bottom on every
// content growth while a turn was running, so the chat tracked tokens as
// they streamed. That behavior is removed by request: once a turn is in
// flight the viewport stays exactly where the user left it. The viewport
// is still moved to the bottom ONCE per user submit / new turn / session
// change (see the layout effect and the session-change effect below) so a
// freshly submitted message lands in view — but it does not chase the
// stream afterward.
Now I think I found a workaround that I'm testing. It's a simple css trick in the running browser. Yep I think it's working...
So if you open dev tools and the expand all the way down to this:
and set that style property to unset that you see at the end, it overrides and works.
This is the property that you are overriding on this 1 div:
Also I've forked the repo and am working on a better fix than this, based on the comments from the code I'm trying to get it to do what it should do, which by my feeling is, autoscroll on load chat, autoscroll if at the bottom, no autoscroll if you scroll up manually until it is scrolled to the bottom again.
For anyone wanting to use the fix on their machine and stay up to date. I am syncinig the repo twice a day at least.
The nuance I don't know how to make work without breaking everything is that on my machine I have to run hermes update, which then pulls from the nousreseach repo and updates the whole hermes install. Then I have to switch the repo to my branch and pull everything, then finally run hermes desktop again to build my fix into the desktop app. I'm probably doing this the hard way, but if anyone cares and needs it this is my solution until the PR is hopefully accepted.
Activity
kostyaff commentedon Jun 9, 2026
+1 Same issue here on Windows 10 with Hermes Desktop v0.15.1. When the agent streams a long response, the chat does not auto-scroll to the bottom. I have to manually scroll down continuously to see the latest output. The scrollbar stays where it was before the response started. This happens on every turn, not just occasionally. Let me know if you need any logs or a screen recording.
HughNonymous commentedon Jun 9, 2026
I’m seeing the same behavior on Windows native Hermes Desktop.
Environment
Repro I’m seeing
Actual behavior
The tool calls and streamed text continue below the visible viewport, but the chat/session window does not stay pinned to the newest output. I have to manually scroll down to find the latest activity.
Expected behavior
If the user is already at or near the bottom, the chat view should keep following new streamed output. If the user manually scrolls upward, auto-scroll should pause until they return to the bottom.
No crash or traceback observed; this appears to be a Desktop UI scroll anchoring / auto-scroll regression. I’m not attaching logs or screenshots because they contain private local paths and conversation content, but the visible behavior matches this report.
XGhozt commentedon Jun 9, 2026
Yup.. driving me crazy, it will not auto-scroll when the bar is at the bottom already. Tried different window sizes and various settings, seems like a bug.
nonspacial commentedon Jun 10, 2026
It seems like someone requested that this was removed... lol what happens when too many people all want "their" functionality. I found these comments in the code:
Now I think I found a workaround that I'm testing. It's a simple css trick in the running browser. Yep I think it's working...
So if you open dev tools and the expand all the way down to this:
and set that style property to unset that you see at the end, it overrides and works.
This is the property that you are overriding on this 1 div:
[data-slot=aui_thread-viewport] {
overflow-anchor: none;
}
I literally just did this:
element.style {
overflow-anchor: unset;
}
nonspacial commentedon Jun 10, 2026
Also I've forked the repo and am working on a better fix than this, based on the comments from the code I'm trying to get it to do what it should do, which by my feeling is, autoscroll on load chat, autoscroll if at the bottom, no autoscroll if you scroll up manually until it is scrolled to the bottom again.
nonspacial commentedon Jun 10, 2026
OK so I fixed it my end and made it as this PR:
https://github.com/NousResearch/hermes-agent/pull/43624
If anyone wants it if it doesn't get merged or before here's the branch you need on my fork:
https://github.com/nonspacial/hermes-agent/tree/fix/desktop-chat-autoscroll
nonspacial commentedon Jun 11, 2026
For anyone wanting to use the fix on their machine and stay up to date. I am syncinig the repo twice a day at least.
The nuance I don't know how to make work without breaking everything is that on my machine I have to run hermes update, which then pulls from the nousreseach repo and updates the whole hermes install. Then I have to switch the repo to my branch and pull everything, then finally run hermes desktop again to build my fix into the desktop app. I'm probably doing this the hard way, but if anyone cares and needs it this is my solution until the PR is hopefully accepted.
nonspacial commentedon Jun 13, 2026
PR is closed as it's been fixed in upstream yesterday. Happy days.