Chat scroll jumps to center and bounces uncontrollably when scrolling up
Bug Report
App version: 26.406.31014 (1395)
Platform: macOS
Description
After the latest update, scrolling up in a chat conversation causes the viewport to jump to the center of the message list. Once this happens, attempting to scroll down results in the scroll position bouncing up and down erratically, making it impossible to navigate the conversation.
Steps to Reproduce
- Open the Codex desktop app (version 26.406.31014)
- Open a conversation with a long message history
- Scroll up slightly from the bottom
Expected: The chat scrolls up smoothly, and scrolling down returns to the previous position.
Actual: The viewport jumps to the center of the chat list. Attempting to scroll down causes the scroll to bounce between up and down positions repeatedly. The conversation becomes unnavigable.
Workaround
Switching to a different chat and switching back lands at the correct position initially — but the bug re-triggers as soon as you scroll up even slightly.
Additional Context
This regression started with the latest update (version 26.406.31014, build 1395). Previous versions did not have this behavior. The issue occurs on long conversations and appears to be related to virtualized list scroll position anchoring.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I can reproduce what appears to be the same regression on Codex app for macOS 26.406.31014 (1395).
My symptom is slightly different in wording but likely the same underlying scroll bug:
So from my side, this is not only "scrolling up jumps to center" — in long threads it can also look like scroll position restoration is broken, causing the view to reset to the top while navigating.
Thanks for looking into this.
I did a deeper local comparison between the older macOS build 26.325.31654 (1272) and the regressed build 26.406.31014 (1395), and I now have stronger evidence that this is likely a thread scroll controller regression, not just a generic CSS issue.
What seems to have changed in the newer build:
My current hypothesis is that there are two regressions interacting:
I tested this by doing a local hot patch to the packaged app:
Result on the same machine and same long threads:
So if someone on the team is triaging this, the most promising place to inspect seems to be the thread virtualization / scroll controller around:
From my side this is now reproducible enough, and the hot-patch result makes me fairly confident the problem is in that area.
I can reproduce this as well on a newer build...
Environment:
I also saw the same issue on macOS 26.4.
For me, this happens with a mouse. In longer threads (maybe also in not so long?!), scrolling becomes erratic: the view jumps, bounces, and sometimes resets to a different position. This only happens in the Codex app; scrolling is normal in other apps.
I can also reproduce this on a newer Codex App build & macOS version:
In a longer chat threads (not sure how long), the App jumps up:
This is making it difficult, and sometimes impossible to read the latest response from Codex.